Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00136/0.00136, allocations: 87.67 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004502/0.004502, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9434/0.9434, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.637e-05, allocations: 2.312 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.003906/0.003922, allocations: 5.14 MB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007597/0.01152, allocations: 8.684 MB / 286.7 MB, free: 3.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005431/0.01206, allocations: 59.38 kB / 286.8 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007261/0.01279, allocations: 369.5 kB / 287.1 MB, free: 3.168 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.01459, allocations: 0.8765 MB / 288 MB, free: 2.285 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.01579, allocations: 0.614 MB / 288.6 MB, free: 1.668 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1125/0.1283, allocations: 1.803 MB / 290.4 MB, free: 16.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000463/0.1287, allocations: 96.91 kB / 290.5 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.1304, allocations: 0.8641 MB / 291.4 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004849/0.1309, allocations: 240.1 kB / 291.6 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.497e-05/0.1309, allocations: 29.41 kB / 291.7 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.1325, allocations: 0.5764 MB / 292.2 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1326, allocations: 104.5 kB / 292.3 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002963/0.1329, allocations: 231 kB / 292.6 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.1345, allocations: 0.9685 MB / 293.5 MB, free: 16.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1345, allocations: 0 / 293.5 MB, free: 16.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1345, allocations: 3.312 kB / 293.5 MB, free: 16.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.714e-05/0.1346, allocations: 0 / 293.5 MB, free: 16.1 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.001628/0.1362, allocations: 1.358 MB / 294.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1362, allocations: 15.95 kB / 294.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003201/0.1365, allocations: 146.8 kB / 295 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009053/0.1374, allocations: 0.8467 MB / 295.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.1375, allocations: 17.53 kB / 295.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.1375, allocations: 23.66 kB / 295.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.1379, allocations: 286.5 kB / 296.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1379, allocations: 3.062 kB / 296.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.1379, allocations: 9.781 kB / 296.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.1379, allocations: 11.11 kB / 296.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.1381, allocations: 134.2 kB / 296.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.1393, allocations: 1.103 MB / 297.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.1396, allocations: 136.9 kB / 297.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.1398, allocations: 162.8 kB / 297.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004092/0.1439, allocations: 3.36 MB / 301.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.1439, allocations: 35.42 kB / 301.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 3.667e-06/0.1439, allocations: 5.891 kB / 301.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009194/0.1448, allocations: 0.5116 MB / 301.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.1449, allocations: 79.3 kB / 301.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000592/0.1454, allocations: 0.8765 MB / 302.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1455, allocations: 27.14 kB / 302.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.1457, allocations: 0.51 MB / 303.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.1457, allocations: 81.33 kB / 303.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.1458, allocations: 69.86 kB / 303.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.038e-05/0.1458, allocations: 494.4 kB / 303.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.009e-05/0.1459, allocations: 41.08 kB / 303.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.762e-05/0.146, allocations: 173.3 kB / 304 MB, free: 11.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.1461, allocations: 208.9 kB / 304.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1461, allocations: 0 / 304.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000345/0.1465, allocations: 364.8 kB / 304.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1465, allocations: 9.844 kB / 304.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.1465, allocations: 15.67 kB / 304.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002359/0.1468, allocations: 128 kB / 304.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.1468, allocations: 41.06 kB / 304.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003349/0.1472, allocations: 0.9222 MB / 305.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.1473, allocations: 23.28 kB / 305.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.1473, allocations: 14.91 kB / 305.7 MB, free: 10.61 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.0001061/0.1475, allocations: 174.2 kB / 305.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.1475, allocations: 114.5 kB / 306 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.1479, allocations: 350.4 kB / 306.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1479, allocations: 3.5 kB / 306.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1479, allocations: 0 / 306.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1479, allocations: 0 / 306.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.1483, allocations: 498.2 kB / 306.8 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.1483, allocations: 11.53 kB / 306.8 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.483e-05/0.1484, allocations: 16.2 kB / 306.9 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001542/0.1485, allocations: 130.6 kB / 307 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1485, allocations: 10.97 kB / 307 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002638/0.1488, allocations: 0.9218 MB / 307.9 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1488, allocations: 3.938 kB / 307.9 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.1491, allocations: 453.8 kB / 308.4 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.204e-05/0.1491, allocations: 100.9 kB / 308.5 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.1492, allocations: 7.938 kB / 308.5 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1493, allocations: 3.594 kB / 308.5 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.1493, allocations: 18.11 kB / 308.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.1493, allocations: 13.31 kB / 308.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002974/0.1496, allocations: 0.5202 MB / 309 MB, free: 8.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1496, allocations: 0 / 309 MB, free: 8.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003653/0.15, allocations: 200.8 kB / 309.2 MB, free: 8.449 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.0003602/0.1504, allocations: 321.6 kB / 309.5 MB, free: 8.324 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000314/0.1507, allocations: 234.9 kB / 309.8 MB, free: 8.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1507, allocations: 0 / 309.8 MB, free: 8.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.1508, allocations: 168.8 kB / 309.9 MB, free: 8.137 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.1513, allocations: 162.6 kB / 310.1 MB, free: 8.078 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1523, allocations: 1.157 MB / 311.2 MB, free: 7.414 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.117e-05/0.1524, allocations: 146.6 kB / 311.4 MB, free: 7.332 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.1525, allocations: 113.9 kB / 311.5 MB, free: 7.301 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.1526, allocations: 49.09 kB / 311.5 MB, free: 7.289 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1526, allocations: 0 / 311.5 MB, free: 7.289 MB / 266.7 MB Notification: Performance of Templates: time 0.01157/0.1642, allocations: 10.18 MB / 321.7 MB, free: 13.82 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.8068923698738217]