Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.002322/0.002322, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.00304/0.00304, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.583/1.583, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.405e-05, allocations: 2.312 kB / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.007428/0.007452, allocations: 5.102 MB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.02018, allocations: 8.649 MB / 286 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005522/0.02073, allocations: 55.38 kB / 286.1 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009723/0.0217, allocations: 373.5 kB / 286.5 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.02398, allocations: 0.8804 MB / 287.3 MB, free: 2.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.02546, allocations: 0.6062 MB / 288 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003107/0.02857, allocations: 1.775 MB / 289.7 MB, free: 348 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.02882, allocations: 95.38 kB / 289.8 MB, free: 240 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1078/0.1366, allocations: 449.1 kB / 290.3 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004194/0.137, allocations: 229.1 kB / 290.5 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.525e-05/0.1371, allocations: 29.25 kB / 290.5 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.1385, allocations: 0.5843 MB / 291.1 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.252e-05/0.1386, allocations: 104.4 kB / 291.2 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002716/0.1389, allocations: 229.9 kB / 291.4 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.1403, allocations: 1.248 MB / 292.7 MB, free: 16.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1403, allocations: 0 / 292.7 MB, free: 16.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1404, allocations: 3.531 kB / 292.7 MB, free: 16.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1404, allocations: 3.969 kB / 292.7 MB, free: 16.16 MB / 266.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.001745/0.1421, allocations: 1.401 MB / 294.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1421, allocations: 9.344 kB / 294.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003322/0.1425, allocations: 146.2 kB / 294.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.1437, allocations: 0.8731 MB / 295.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.1437, allocations: 23.47 kB / 295.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.1437, allocations: 27.02 kB / 295.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.1442, allocations: 334.2 kB / 295.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1442, allocations: 1.062 kB / 295.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.1442, allocations: 11.2 kB / 295.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.1442, allocations: 8.719 kB / 295.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.1446, allocations: 211 kB / 295.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.1462, allocations: 1.249 MB / 297 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.1465, allocations: 167.8 kB / 297.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.1468, allocations: 184.5 kB / 297.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006165/0.153, allocations: 3.416 MB / 300.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.153, allocations: 38.67 kB / 300.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.222e-06/0.153, allocations: 0 / 300.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.001434/0.1544, allocations: 0.5882 MB / 301.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.1544, allocations: 79.89 kB / 301.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009049/0.1553, allocations: 1.065 MB / 302.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1554, allocations: 33.67 kB / 302.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.1557, allocations: 0.5411 MB / 303.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.1557, allocations: 81.77 kB / 303.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.088e-05/0.1558, allocations: 78.02 kB / 303.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.45e-05/0.1559, allocations: 0.4905 MB / 303.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.156, allocations: 59.19 kB / 303.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.1561, allocations: 209 kB / 304 MB, free: 11.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.1564, allocations: 263.9 kB / 304.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1564, allocations: 1.125 kB / 304.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004998/0.1569, allocations: 409.1 kB / 304.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1569, allocations: 11.28 kB / 304.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.1569, allocations: 19.02 kB / 304.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003042/0.1573, allocations: 148.6 kB / 304.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1574, allocations: 34.75 kB / 304.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004823/0.1579, allocations: 0.9832 MB / 305.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.1581, allocations: 26.25 kB / 305.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.1581, allocations: 16.5 kB / 305.9 MB, free: 10.31 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.0001772/0.1583, allocations: 250.1 kB / 306.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.887e-05/0.1584, allocations: 112.5 kB / 306.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006277/0.159, allocations: 391 kB / 306.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.159, allocations: 7.219 kB / 306.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.159, allocations: 0 / 306.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.159, allocations: 0.9844 kB / 306.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005629/0.1596, allocations: 0.5878 MB / 307.2 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/0.1596, allocations: 17.28 kB / 307.2 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.1597, allocations: 14.2 kB / 307.2 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002291/0.16, allocations: 142.6 kB / 307.4 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.16, allocations: 9.656 kB / 307.4 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004429/0.1604, allocations: 0.9724 MB / 308.3 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1604, allocations: 3.938 kB / 308.3 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.1609, allocations: 0.5027 MB / 308.8 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.161, allocations: 99.5 kB / 308.9 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.143e-05/0.1611, allocations: 10.09 kB / 309 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.1613, allocations: 10.03 kB / 309 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.1614, allocations: 16.7 kB / 309 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.1614, allocations: 10.67 kB / 309 MB, free: 8.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004891/0.1619, allocations: 0.6372 MB / 309.6 MB, free: 7.922 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1619, allocations: 0 / 309.6 MB, free: 7.922 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005008/0.1624, allocations: 207.2 kB / 309.8 MB, free: 7.883 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.0004199/0.1628, allocations: 318.3 kB / 310.1 MB, free: 7.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004631/0.1633, allocations: 283.7 kB / 310.4 MB, free: 7.652 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1633, allocations: 0 / 310.4 MB, free: 7.652 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.1635, allocations: 189.2 kB / 310.6 MB, free: 7.551 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006902/0.1642, allocations: 166.6 kB / 310.8 MB, free: 7.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.1656, allocations: 1.242 MB / 312 MB, free: 6.773 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.1658, allocations: 347.2 kB / 312.3 MB, free: 6.652 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.166, allocations: 106.9 kB / 312.5 MB, free: 6.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.166, allocations: 52.5 kB / 312.5 MB, free: 6.516 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.166, allocations: 0 / 312.5 MB, free: 6.516 MB / 266.7 MB Notification: Performance of Templates: time 0.01411/0.1801, allocations: 8.749 MB / 321.3 MB, free: 14.11 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.772475103032775]