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.001336/0.001336, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001567/0.001567, allocations: 161 kB / 24.56 MB, free: 12 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.011/1.011, allocations: 177.1 MB / 205 MB, free: 5.602 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.252e-06/1.252e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.101e-05, allocations: 2.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004169/0.00419, allocations: 5.141 MB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007076/0.01127, allocations: 8.676 MB / 286.8 MB, free: 3.645 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004805/0.01175, allocations: 59.31 kB / 286.8 MB, free: 3.586 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006948/0.01244, allocations: 373.4 kB / 287.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.01414, allocations: 0.8766 MB / 288.1 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.01528, allocations: 0.614 MB / 288.7 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1102/0.1255, allocations: 1.798 MB / 290.5 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.1258, allocations: 96.72 kB / 290.6 MB, free: 16.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.1269, allocations: 0.8684 MB / 291.5 MB, free: 16.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.1272, allocations: 240.1 kB / 291.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.1273, allocations: 29.53 kB / 291.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.1284, allocations: 0.5715 MB / 292.3 MB, free: 16.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.378e-05/0.1284, allocations: 109.4 kB / 292.4 MB, free: 16.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.1286, allocations: 229.1 kB / 292.6 MB, free: 16.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.1297, allocations: 0.9645 MB / 293.6 MB, free: 16.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1297, allocations: 0.5625 kB / 293.6 MB, free: 16.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1297, allocations: 0.8125 kB / 293.6 MB, free: 16.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.1297, allocations: 1.5 kB / 293.6 MB, free: 16.12 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.00135/0.1311, allocations: 1.364 MB / 294.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1311, allocations: 10.03 kB / 295 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002819/0.1314, allocations: 146.4 kB / 295.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008063/0.1322, allocations: 0.8435 MB / 295.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.1322, allocations: 17.03 kB / 296 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.1323, allocations: 28.7 kB / 296 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.1327, allocations: 289.5 kB / 296.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1327, allocations: 2.094 kB / 296.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.1327, allocations: 8.906 kB / 296.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.1327, allocations: 8.141 kB / 296.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.133, allocations: 137.5 kB / 296.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.1342, allocations: 1.099 MB / 297.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.1345, allocations: 134 kB / 297.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.1346, allocations: 169.6 kB / 297.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004074/0.1387, allocations: 3.353 MB / 301.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.1387, allocations: 40.44 kB / 301.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 2.905e-06/0.1387, allocations: 1.031 kB / 301.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009167/0.1397, allocations: 0.5188 MB / 301.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.1397, allocations: 83.2 kB / 301.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/0.1403, allocations: 0.8687 MB / 302.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1403, allocations: 29.7 kB / 302.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.1405, allocations: 0.5037 MB / 303.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.1405, allocations: 86.7 kB / 303.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.1406, allocations: 69.44 kB / 303.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.1406, allocations: 495.1 kB / 303.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.882e-05/0.1407, allocations: 46.97 kB / 303.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.395e-05/0.1408, allocations: 173.9 kB / 304.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.141, allocations: 207.2 kB / 304.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.141, allocations: 3.125 kB / 304.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003183/0.1413, allocations: 357.2 kB / 304.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1413, allocations: 11.5 kB / 304.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.1413, allocations: 12.31 kB / 304.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002372/0.1416, allocations: 140.3 kB / 304.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.1417, allocations: 33.02 kB / 304.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003226/0.142, allocations: 0.9283 MB / 305.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.1421, allocations: 23.78 kB / 305.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.1421, allocations: 14.97 kB / 305.8 MB, free: 10.68 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.0001014/0.1422, allocations: 180.6 kB / 306 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/0.1423, allocations: 111.3 kB / 306.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003794/0.1427, allocations: 331.2 kB / 306.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1427, allocations: 6.516 kB / 306.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1427, allocations: 7.438 kB / 306.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1427, allocations: 0 / 306.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/0.1431, allocations: 492.4 kB / 306.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.1431, allocations: 13.66 kB / 306.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.414e-05/0.1431, allocations: 19.92 kB / 306.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001488/0.1433, allocations: 127.2 kB / 307 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1433, allocations: 14.75 kB / 307.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002754/0.1436, allocations: 0.9172 MB / 308 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1436, allocations: 3.938 kB / 308 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.1439, allocations: 455.4 kB / 308.4 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.745e-05/0.1439, allocations: 102.9 kB / 308.5 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.144, allocations: 7.188 kB / 308.5 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.841e-05/0.1441, allocations: 7.25 kB / 308.5 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.1441, allocations: 14.92 kB / 308.6 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1441, allocations: 16.03 kB / 308.6 MB, free: 8.789 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003055/0.1445, allocations: 0.5138 MB / 309.1 MB, free: 8.551 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1445, allocations: 0.875 kB / 309.1 MB, free: 8.551 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004073/0.1449, allocations: 204.7 kB / 309.3 MB, free: 8.516 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.0003735/0.1452, allocations: 324.4 kB / 309.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003079/0.1455, allocations: 231.1 kB / 309.8 MB, free: 8.301 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1455, allocations: 0 / 309.8 MB, free: 8.301 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.1457, allocations: 165.9 kB / 310 MB, free: 8.207 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.1461, allocations: 167.7 kB / 310.1 MB, free: 8.141 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.1472, allocations: 1.156 MB / 311.3 MB, free: 7.477 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.299e-05/0.1472, allocations: 145.2 kB / 311.4 MB, free: 7.395 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001723/0.1474, allocations: 113.6 kB / 311.6 MB, free: 7.363 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.1474, allocations: 53.72 kB / 311.6 MB, free: 7.352 MB / 266.7 MB Notification: Performance of SimCode: time 9.31e-07/0.1474, allocations: 0 / 311.6 MB, free: 7.352 MB / 266.7 MB Notification: Performance of Templates: time 0.01204/0.1595, allocations: 10.18 MB / 321.8 MB, free: 13.98 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.9686272931285203]