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.0009612/0.0009612, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007236/0.008197, allocations: 449.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.0009343/0.0009343, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008109/0.009043, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.023/1.023, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08701/1.11, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.613e-06/1.613e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.989e-05, allocations: 6.25 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006201/0.006221, allocations: 5.113 MB / 249.6 MB, free: 9.188 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.01851, allocations: 8.749 MB / 258.4 MB, free: 408 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007971/0.01931, allocations: 59.38 kB / 258.4 MB, free: 348 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.0204, allocations: 369.3 kB / 258.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.02323, allocations: 0.8569 MB / 259.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.02513, allocations: 0.5711 MB / 260.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003275/0.0284, allocations: 1.771 MB / 262 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/0.02876, allocations: 115.3 kB / 262.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.0306, allocations: 0.9801 MB / 263.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005273/0.03112, allocations: 239.2 kB / 263.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.891e-05/0.03121, allocations: 28 kB / 263.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001972/0.03318, allocations: 0.6243 MB / 264 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.0333, allocations: 83.38 kB / 264.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003676/0.03367, allocations: 207.4 kB / 264.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.03556, allocations: 0.8836 MB / 265.1 MB, free: 9.578 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.032e-05/0.03558, allocations: 0 / 265.1 MB, free: 9.578 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.03558, allocations: 8 kB / 265.1 MB, free: 9.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.812e-05/0.03562, allocations: 0 / 265.1 MB, free: 9.57 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.002106/0.03772, allocations: 1.475 MB / 266.6 MB, free: 8.047 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.03776, allocations: 8.031 kB / 266.6 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002892/0.03805, allocations: 108.8 kB / 266.7 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009716/0.03902, allocations: 0.6988 MB / 267.4 MB, free: 7.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.03904, allocations: 16.88 kB / 267.5 MB, free: 7.145 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.865e-05/0.03909, allocations: 32.11 kB / 267.5 MB, free: 7.113 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.03945, allocations: 261 kB / 267.7 MB, free: 6.836 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.03946, allocations: 4 kB / 267.7 MB, free: 6.832 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.03949, allocations: 4 kB / 267.7 MB, free: 6.828 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.0395, allocations: 12 kB / 267.8 MB, free: 6.816 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.03968, allocations: 93.06 kB / 267.8 MB, free: 6.723 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.04085, allocations: 0.706 MB / 268.6 MB, free: 5.977 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.04107, allocations: 146.3 kB / 268.7 MB, free: 5.824 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.04123, allocations: 129.5 kB / 268.8 MB, free: 5.691 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00421/0.04544, allocations: 3.612 MB / 272.4 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.04546, allocations: 34.56 kB / 272.5 MB, free: 2.016 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 2.294e-06/0.04546, allocations: 0 / 272.5 MB, free: 2.016 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006912/0.04616, allocations: 402 kB / 272.9 MB, free: 1.613 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.04618, allocations: 55.34 kB / 272.9 MB, free: 1.547 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.04658, allocations: 0.7133 MB / 273.6 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.04659, allocations: 29.7 kB / 273.7 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.04672, allocations: 282.8 kB / 273.9 MB, free: 0.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.04676, allocations: 79.27 kB / 274 MB, free: 432 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.04682, allocations: 53.86 kB / 274.1 MB, free: 372 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.0469, allocations: 318 kB / 274.4 MB, free: 48 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.24e-05/0.04693, allocations: 24.22 kB / 274.4 MB, free: 24 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1069/0.1538, allocations: 122.2 kB / 274.5 MB, free: 14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.154, allocations: 155 kB / 274.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.154, allocations: 0 / 274.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003895/0.1544, allocations: 235.2 kB / 274.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.1544, allocations: 10.31 kB / 274.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/0.1544, allocations: 8.234 kB / 274.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002763/0.1547, allocations: 99.69 kB / 275 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.1549, allocations: 41.53 kB / 275.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000326/0.1552, allocations: 0.6067 MB / 275.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.1554, allocations: 28.66 kB / 275.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.1554, allocations: 7.719 kB / 275.7 MB, free: 13.36 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.0001291/0.1556, allocations: 121.2 kB / 275.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.852e-05/0.1557, allocations: 76.36 kB / 275.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.1561, allocations: 273.7 kB / 276.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1561, allocations: 6.781 kB / 276.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.1561, allocations: 0 / 276.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1561, allocations: 6.219 kB / 276.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/0.1565, allocations: 286.2 kB / 276.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/0.1565, allocations: 2.719 kB / 276.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.431e-05/0.1566, allocations: 24.84 kB / 276.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.1567, allocations: 90.14 kB / 276.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001874/0.1569, allocations: 94.31 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1569, allocations: 6.062 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002678/0.1572, allocations: 0.6072 MB / 277.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.1572, allocations: 0 / 277.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.1575, allocations: 297.2 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.1576, allocations: 1.984 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.1577, allocations: 10.47 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.1578, allocations: 18.52 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.1578, allocations: 3.562 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003533/0.1581, allocations: 360.2 kB / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1581, allocations: 0 / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004907/0.1586, allocations: 203.5 kB / 278.1 MB, free: 12.4 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.0004704/0.1591, allocations: 336 kB / 278.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.1594, allocations: 189 kB / 278.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.886e-05/0.1594, allocations: 15.19 kB / 278.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.1595, allocations: 135 kB / 278.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.1601, allocations: 227.9 kB / 279 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/0.1632, allocations: 1.149 MB / 280.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.1633, allocations: 139.2 kB / 280.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002379/0.1635, allocations: 108.8 kB / 280.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.1637, allocations: 187.1 kB / 280.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1637, allocations: 0 / 280.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of Templates: time 0.01487/0.1786, allocations: 10.21 MB / 290.8 MB, free: 8.82 MB / 266.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 -ignoreHideResult -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","",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.9155148239806294]