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.002523/0.002523, allocations: 103.5 kB / 21.74 MB, free: 2.688 MB / 18.57 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.002889/0.002889, allocations: 162.3 kB / 25.03 MB, free: 8.918 MB / 18.57 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 1.303/1.303, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.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.162e-06/1.162e-06, allocations: 0 / 250.4 MB, free: 7.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.276e-05, allocations: 2.312 kB / 250.4 MB, free: 7.711 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006763/0.006786, allocations: 4.925 MB / 255.3 MB, free: 2.762 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.01813, allocations: 8.238 MB / 263.5 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004862/0.01861, allocations: 59.38 kB / 263.6 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009118/0.01953, allocations: 341.5 kB / 263.9 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.02165, allocations: 0.8608 MB / 264.8 MB, free: 9.223 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.02303, allocations: 0.5984 MB / 265.4 MB, free: 8.621 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002852/0.02588, allocations: 1.701 MB / 267.1 MB, free: 6.914 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/0.02612, allocations: 107.3 kB / 267.2 MB, free: 6.797 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005523/0.02667, allocations: 426.9 kB / 267.6 MB, free: 6.379 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.02707, allocations: 223.2 kB / 267.8 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.843e-05/0.02715, allocations: 28 kB / 267.8 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.02829, allocations: 0.5269 MB / 268.4 MB, free: 5.605 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.02841, allocations: 99.31 kB / 268.5 MB, free: 5.508 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.02872, allocations: 239.2 kB / 268.7 MB, free: 5.273 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.03038, allocations: 1.23 MB / 269.9 MB, free: 4.039 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.03038, allocations: 0 / 269.9 MB, free: 4.039 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.03038, allocations: 0 / 269.9 MB, free: 4.039 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.03039, allocations: 0 / 269.9 MB, free: 4.039 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.00221/0.0326, allocations: 1.4 MB / 271.3 MB, free: 2.598 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.03264, allocations: 15.98 kB / 271.3 MB, free: 2.582 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.03284, allocations: 144.2 kB / 271.5 MB, free: 2.441 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.03428, allocations: 0.8771 MB / 272.4 MB, free: 1.5 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.03431, allocations: 20.44 kB / 272.4 MB, free: 1.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/0.03437, allocations: 27.95 kB / 272.4 MB, free: 1.453 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005728/0.03494, allocations: 331.1 kB / 272.7 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.03495, allocations: 0 / 272.7 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.03499, allocations: 15.98 kB / 272.8 MB, free: 1.094 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.035, allocations: 12 kB / 272.8 MB, free: 1.082 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005473/0.03555, allocations: 206.1 kB / 273 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.03767, allocations: 1.236 MB / 274.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/0.03807, allocations: 190.8 kB / 274.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.03839, allocations: 180 kB / 274.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007231/0.04562, allocations: 3.383 MB / 277.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.04566, allocations: 41.33 kB / 278 MB, free: 11.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.282e-06/0.04566, allocations: 0 / 278 MB, free: 11.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.001733/0.0474, allocations: 0.5982 MB / 278.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.04746, allocations: 77.11 kB / 278.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.04878, allocations: 1.062 MB / 279.7 MB, free: 9.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.04881, allocations: 25.7 kB / 279.7 MB, free: 9.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006594/0.04947, allocations: 0.5467 MB / 280.3 MB, free: 9.383 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.84e-05/0.04956, allocations: 95.19 kB / 280.4 MB, free: 9.289 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.04967, allocations: 71.59 kB / 280.5 MB, free: 9.211 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002642/0.04993, allocations: 0.4887 MB / 280.9 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.05009, allocations: 72.12 kB / 281 MB, free: 8.645 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.05036, allocations: 194.7 kB / 281.2 MB, free: 8.402 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.05077, allocations: 261.2 kB / 281.5 MB, free: 8.105 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.05077, allocations: 3.938 kB / 281.5 MB, free: 8.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006991/0.05147, allocations: 412.4 kB / 281.9 MB, free: 7.688 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.05149, allocations: 4 kB / 281.9 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/0.05152, allocations: 20 kB / 281.9 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003937/0.05192, allocations: 143.9 kB / 282 MB, free: 7.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.05209, allocations: 31.97 kB / 282.1 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009238/0.05301, allocations: 0.987 MB / 283 MB, free: 6.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.05324, allocations: 31.78 kB / 283.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.05328, allocations: 20.02 kB / 283.1 MB, free: 6.422 MB / 266.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.0002813/0.05356, allocations: 240.5 kB / 283.3 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.05371, allocations: 115.3 kB / 283.4 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008364/0.05455, allocations: 394.2 kB / 283.8 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.05456, allocations: 8 kB / 283.8 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.05456, allocations: 3.938 kB / 283.8 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.05457, allocations: 0 / 283.8 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008127/0.05538, allocations: 0.5804 MB / 284.4 MB, free: 5.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/0.0554, allocations: 12 kB / 284.4 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.05553, allocations: 19.98 kB / 284.5 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003198/0.05585, allocations: 143.5 kB / 284.6 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.05587, allocations: 8 kB / 284.6 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008814/0.05675, allocations: 0.9872 MB / 285.6 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.05675, allocations: 0 / 285.6 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006956/0.05745, allocations: 0.5035 MB / 286.1 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.05766, allocations: 95.36 kB / 286.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.785e-05/0.05775, allocations: 0 / 286.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.05795, allocations: 8 kB / 286.2 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.05802, allocations: 20.02 kB / 286.2 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.05804, allocations: 11.98 kB / 286.2 MB, free: 3.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0008274/0.05887, allocations: 0.6354 MB / 286.9 MB, free: 2.535 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.05887, allocations: 0 / 286.9 MB, free: 2.535 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006007/0.05947, allocations: 203.6 kB / 287.1 MB, free: 2.336 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.000689/0.06016, allocations: 319.3 kB / 287.4 MB, free: 2.008 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006379/0.0608, allocations: 285.1 kB / 287.7 MB, free: 1.715 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.0608, allocations: 0 / 287.7 MB, free: 1.715 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003407/0.06114, allocations: 187.2 kB / 287.8 MB, free: 1.516 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.06175, allocations: 136.7 kB / 288 MB, free: 1.379 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.06382, allocations: 1.251 MB / 289.2 MB, free: 88 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.06422, allocations: 353.1 kB / 289.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002822/0.0645, allocations: 106.7 kB / 289.7 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.553e-05/0.0646, allocations: 52.44 kB / 289.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0646, allocations: 0 / 289.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of Templates: time 0.01851/0.0831, allocations: 8.708 MB / 298.4 MB, free: 6.895 MB / 282.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.541207163943909]