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.0009717/0.0009717, allocations: 77.97 kB / 21.42 MB, free: 3.07 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.00108/0.00108, allocations: 169.2 kB / 24.82 MB, free: 9.305 MB / 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 0.9841/0.9841, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.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.333e-06/1.333e-06, allocations: 0 / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.916e-05, allocations: 2.312 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004217/0.004236, allocations: 5.039 MB / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007325/0.01156, allocations: 8.539 MB / 287 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005447/0.01211, allocations: 63.38 kB / 287 MB, free: 3.602 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007147/0.01282, allocations: 361.5 kB / 287.4 MB, free: 3.246 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.01453, allocations: 0.8765 MB / 288.3 MB, free: 2.363 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.01571, allocations: 0.6101 MB / 288.9 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1116/0.1273, allocations: 1.807 MB / 290.7 MB, free: 16.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002999/0.1276, allocations: 97.7 kB / 290.8 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.1289, allocations: 0.8618 MB / 291.6 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004244/0.1294, allocations: 241.9 kB / 291.9 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.793e-05/0.1294, allocations: 30.36 kB / 291.9 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.1306, allocations: 0.5726 MB / 292.5 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.569e-05/0.1307, allocations: 107.3 kB / 292.6 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.131, allocations: 230.4 kB / 292.8 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.1323, allocations: 0.9677 MB / 293.8 MB, free: 16.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1323, allocations: 4.938 kB / 293.8 MB, free: 16.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1323, allocations: 0 / 293.8 MB, free: 16.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.1323, allocations: 2.469 kB / 293.8 MB, free: 16.3 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.001368/0.1337, allocations: 1.368 MB / 295.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1337, allocations: 9.312 kB / 295.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002411/0.134, allocations: 145.2 kB / 295.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007708/0.1348, allocations: 0.8512 MB / 296.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1348, allocations: 19.06 kB / 296.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.1348, allocations: 26.12 kB / 296.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.1351, allocations: 265.7 kB / 296.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1351, allocations: 0 / 296.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.1351, allocations: 10.5 kB / 296.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.1351, allocations: 10.19 kB / 296.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.1353, allocations: 115.7 kB / 296.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009984/0.1363, allocations: 0.9588 MB / 297.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.1365, allocations: 119.2 kB / 297.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.1366, allocations: 151.5 kB / 297.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004237/0.1409, allocations: 3.382 MB / 301.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.1409, allocations: 34.58 kB / 301.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 2.224e-06/0.1409, allocations: 4 kB / 301.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007926/0.1417, allocations: 0.491 MB / 301.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.1417, allocations: 84.3 kB / 301.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005259/0.1422, allocations: 0.8599 MB / 302.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1422, allocations: 34.58 kB / 302.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.1425, allocations: 0.5217 MB / 303.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.1425, allocations: 89.83 kB / 303.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.1426, allocations: 63.64 kB / 303.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.244e-05/0.1426, allocations: 494.9 kB / 303.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.1426, allocations: 32.66 kB / 303.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/0.1427, allocations: 171.8 kB / 304 MB, free: 12.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.1428, allocations: 184.9 kB / 304.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1428, allocations: 1.5 kB / 304.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000276/0.1431, allocations: 337.5 kB / 304.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1431, allocations: 11.62 kB / 304.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.1431, allocations: 12.66 kB / 304.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/0.1433, allocations: 134.9 kB / 304.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.1434, allocations: 30.28 kB / 304.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002916/0.1437, allocations: 0.9194 MB / 305.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.1438, allocations: 18.56 kB / 305.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.1438, allocations: 14.38 kB / 305.7 MB, free: 11.29 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.0001005/0.1439, allocations: 176.9 kB / 305.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.488e-05/0.144, allocations: 111.4 kB / 306 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.1444, allocations: 329.6 kB / 306.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1444, allocations: 2.531 kB / 306.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.1444, allocations: 0 / 306.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1444, allocations: 0 / 306.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.1447, allocations: 359.3 kB / 306.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.1447, allocations: 12.97 kB / 306.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.301e-05/0.1448, allocations: 17 kB / 306.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000139/0.1449, allocations: 132.1 kB / 306.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.1449, allocations: 7.125 kB / 306.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000232/0.1451, allocations: 0.9047 MB / 307.7 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1451, allocations: 2.516 kB / 307.7 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.1454, allocations: 444.4 kB / 308.2 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-05/0.1455, allocations: 99.45 kB / 308.2 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.1455, allocations: 7.625 kB / 308.3 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.1456, allocations: 4 kB / 308.3 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.1456, allocations: 20.7 kB / 308.3 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.1456, allocations: 10.44 kB / 308.3 MB, free: 9.562 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002393/0.1459, allocations: 495.2 kB / 308.8 MB, free: 9.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1459, allocations: 0 / 308.8 MB, free: 9.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004085/0.1463, allocations: 206.9 kB / 309 MB, free: 9.344 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.0003699/0.1467, allocations: 346 kB / 309.3 MB, free: 9.215 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.1469, allocations: 219.1 kB / 309.5 MB, free: 9.129 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1469, allocations: 0 / 309.5 MB, free: 9.129 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.147, allocations: 159.3 kB / 309.7 MB, free: 9.043 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.1475, allocations: 163.9 kB / 309.8 MB, free: 8.973 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1485, allocations: 1.162 MB / 311 MB, free: 8.309 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.729e-05/0.1486, allocations: 146.4 kB / 311.1 MB, free: 8.227 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001821/0.1488, allocations: 105.8 kB / 311.3 MB, free: 8.195 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.149, allocations: 219.2 kB / 311.5 MB, free: 8.125 MB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.149, allocations: 0 / 311.5 MB, free: 8.125 MB / 266.7 MB Notification: Performance of Templates: time 0.01161/0.1606, allocations: 9.922 MB / 321.4 MB, free: 14.95 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","",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.776137996930629]