Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001762/0.002958, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002327, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8749/0.8749, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1447/1.02, allocations: 49.49 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.996e-05, allocations: 2.312 kB / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005968/0.005988, allocations: 4.94 MB / 226.8 MB, free: 11.21 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007392/0.01338, allocations: 8.318 MB / 235.1 MB, free: 2.859 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004614/0.01384, allocations: 59.38 kB / 235.1 MB, free: 2.801 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006115/0.01445, allocations: 357.5 kB / 235.5 MB, free: 2.449 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.01613, allocations: 0.8412 MB / 236.3 MB, free: 1.602 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.01722, allocations: 0.5632 MB / 236.9 MB, free: 1.035 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.01883, allocations: 1.709 MB / 238.6 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.01903, allocations: 115.3 kB / 238.7 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008685/0.01989, allocations: 0.8982 MB / 239.6 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.02016, allocations: 239.2 kB / 239.8 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.343e-05/0.02021, allocations: 32 kB / 239.9 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009463/0.02115, allocations: 0.5659 MB / 240.4 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.567e-05/0.02124, allocations: 87.38 kB / 240.5 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.02143, allocations: 203.4 kB / 240.7 MB, free: 13.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009253/0.02235, allocations: 0.8681 MB / 241.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.426e-05/0.02238, allocations: 0 / 241.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.02238, allocations: 0 / 241.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.445e-05/0.0224, allocations: 4 kB / 241.6 MB, free: 12.28 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00126/0.02366, allocations: 1.475 MB / 243.1 MB, free: 10.76 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.0237, allocations: 12.03 kB / 243.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.767e-05/0.0238, allocations: 96.77 kB / 243.2 MB, free: 10.65 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006915/0.02449, allocations: 0.695 MB / 243.9 MB, free: 9.883 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.02451, allocations: 32.36 kB / 243.9 MB, free: 9.852 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.02455, allocations: 24 kB / 243.9 MB, free: 9.828 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.02484, allocations: 257 kB / 244.2 MB, free: 9.555 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.02485, allocations: 0 / 244.2 MB, free: 9.555 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.02487, allocations: 12 kB / 244.2 MB, free: 9.543 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.02488, allocations: 11.98 kB / 244.2 MB, free: 9.531 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.025, allocations: 89.06 kB / 244.3 MB, free: 9.441 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000778/0.02578, allocations: 0.7177 MB / 245 MB, free: 8.684 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.02595, allocations: 150.4 kB / 245.2 MB, free: 8.527 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.02606, allocations: 133.2 kB / 245.3 MB, free: 8.391 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003849/0.02991, allocations: 3.573 MB / 248.9 MB, free: 4.805 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.02993, allocations: 30.56 kB / 248.9 MB, free: 4.766 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.132e-06/0.02994, allocations: 0 / 248.9 MB, free: 4.766 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006759/0.03061, allocations: 413.9 kB / 249.3 MB, free: 4.352 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.03064, allocations: 51.41 kB / 249.3 MB, free: 4.289 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/0.03103, allocations: 0.7132 MB / 250.1 MB, free: 3.559 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.03105, allocations: 29.7 kB / 250.1 MB, free: 3.523 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.03118, allocations: 278.9 kB / 250.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.03122, allocations: 79.27 kB / 250.4 MB, free: 3.168 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.03127, allocations: 49.88 kB / 250.5 MB, free: 3.113 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.03135, allocations: 321.9 kB / 250.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-05/0.03138, allocations: 24.22 kB / 250.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.894e-05/0.03146, allocations: 131.5 kB / 251 MB, free: 2.602 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.03158, allocations: 152.9 kB / 251.1 MB, free: 2.422 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.03159, allocations: 4 kB / 251.1 MB, free: 2.418 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000214/0.0318, allocations: 241.9 kB / 251.3 MB, free: 2.172 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.03181, allocations: 4.281 kB / 251.3 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.03183, allocations: 8 kB / 251.4 MB, free: 2.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.03202, allocations: 104.7 kB / 251.5 MB, free: 2.055 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.176e-05/0.03211, allocations: 35.97 kB / 251.5 MB, free: 2.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003263/0.03243, allocations: 0.6181 MB / 252.1 MB, free: 1.379 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.03255, allocations: 19.84 kB / 252.1 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.03258, allocations: 12 kB / 252.1 MB, free: 1.348 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.03269, allocations: 129.7 kB / 252.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.03275, allocations: 75.84 kB / 252.3 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/0.0331, allocations: 267.5 kB / 252.6 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.03311, allocations: 4 kB / 252.6 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.03311, allocations: 0 / 252.6 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.03312, allocations: 7.922 kB / 252.6 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.0334, allocations: 286.1 kB / 252.9 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.03342, allocations: 4 kB / 252.9 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.294e-05/0.03348, allocations: 19.92 kB / 252.9 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.709e-05/0.03357, allocations: 95.27 kB / 253 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000145/0.03372, allocations: 96.8 kB / 253.1 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.03373, allocations: 4 kB / 253.1 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002993/0.03403, allocations: 0.603 MB / 253.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.03403, allocations: 0 / 253.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.03425, allocations: 308.5 kB / 254 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.0343, allocations: 15.94 kB / 254 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.0344, allocations: 0 / 254 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.03444, allocations: 15.97 kB / 254 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.03445, allocations: 4 kB / 254 MB, free: 15.35 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000221/0.03467, allocations: 360.8 kB / 254.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03467, allocations: 0 / 254.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003105/0.03498, allocations: 195.7 kB / 254.6 MB, free: 14.79 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004185/0.0354, allocations: 324.6 kB / 254.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.03565, allocations: 194.2 kB / 255.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/0.03566, allocations: 12 kB / 255.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.03577, allocations: 128.6 kB / 255.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.03613, allocations: 212.7 kB / 255.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.03854, allocations: 1.155 MB / 256.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.03865, allocations: 138.2 kB / 256.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001749/0.03883, allocations: 110.7 kB / 256.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.03899, allocations: 189.3 kB / 257 MB, free: 12.26 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.03899, allocations: 0 / 257 MB, free: 12.26 MB / 266.7 MB Notification: Performance of Templates: time 0.01216/0.05115, allocations: 10.15 MB / 267.2 MB, free: 2.133 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.662046566605568]