Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008572/0.0008572, allocations: 76.08 kB / 21.18 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 145.1 kB / 24.54 MB, free: 24 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.908/0.908, allocations: 173.3 MB / 201.1 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.828e-05, allocations: 6.312 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004259/0.004277, allocations: 5.13 MB / 273.1 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007809/0.01209, allocations: 8.63 MB / 281.7 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005579/0.01264, allocations: 59.31 kB / 281.8 MB, free: 8.535 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006735/0.01332, allocations: 369.4 kB / 282.2 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.01545, allocations: 0.8765 MB / 283 MB, free: 7.289 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.01675, allocations: 0.6063 MB / 283.6 MB, free: 6.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001826/0.01857, allocations: 1.775 MB / 285.4 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.0188, allocations: 95.38 kB / 285.5 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008981/0.0197, allocations: 0.8395 MB / 286.3 MB, free: 3.949 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.02003, allocations: 235.2 kB / 286.6 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.711e-05/0.02007, allocations: 32 kB / 286.6 MB, free: 3.688 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.02108, allocations: 0.5618 MB / 287.2 MB, free: 3.125 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.099e-05/0.02116, allocations: 107.3 kB / 287.3 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.02137, allocations: 227.3 kB / 287.5 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.02259, allocations: 0.9538 MB / 288.4 MB, free: 1.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.02259, allocations: 0 / 288.4 MB, free: 1.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.0226, allocations: 0 / 288.4 MB, free: 1.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.02261, allocations: 0 / 288.4 MB, free: 1.84 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.001292/0.0239, allocations: 1.362 MB / 289.8 MB, free: 448 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.02394, allocations: 8.922 kB / 289.8 MB, free: 440 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.02406, allocations: 136.2 kB / 290 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1079/0.132, allocations: 0.8352 MB / 290.8 MB, free: 25.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.132, allocations: 22.19 kB / 290.8 MB, free: 25.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/0.1321, allocations: 29.17 kB / 290.8 MB, free: 25.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.1325, allocations: 282.7 kB / 291.1 MB, free: 25.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1325, allocations: 0 / 291.1 MB, free: 25.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.1325, allocations: 17.69 kB / 291.1 MB, free: 25.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.1325, allocations: 11.83 kB / 291.1 MB, free: 25.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.1328, allocations: 137.8 kB / 291.3 MB, free: 25.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.1341, allocations: 1.095 MB / 292.4 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.1344, allocations: 131.5 kB / 292.5 MB, free: 24.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.1346, allocations: 167.5 kB / 292.7 MB, free: 24.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004393/0.139, allocations: 3.344 MB / 296 MB, free: 24.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.139, allocations: 36.14 kB / 296 MB, free: 24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 2.505e-06/0.139, allocations: 3.844 kB / 296 MB, free: 24 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009614/0.14, allocations: 0.5194 MB / 296.6 MB, free: 23.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.14, allocations: 83.92 kB / 296.6 MB, free: 23.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00073/0.1408, allocations: 0.8659 MB / 297.5 MB, free: 23.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1408, allocations: 30.48 kB / 297.5 MB, free: 23.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.141, allocations: 0.5105 MB / 298.1 MB, free: 23.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.1411, allocations: 80.22 kB / 298.1 MB, free: 23.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-05/0.1412, allocations: 61.39 kB / 298.2 MB, free: 23.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.645e-05/0.1412, allocations: 495.4 kB / 298.7 MB, free: 22.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.1413, allocations: 46.48 kB / 298.7 MB, free: 22.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.1414, allocations: 172 kB / 298.9 MB, free: 22.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.1416, allocations: 212.4 kB / 299.1 MB, free: 22.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.1416, allocations: 2.219 kB / 299.1 MB, free: 22.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003985/0.142, allocations: 355 kB / 299.4 MB, free: 22.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.142, allocations: 7.641 kB / 299.5 MB, free: 22.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.142, allocations: 14.48 kB / 299.5 MB, free: 22.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002909/0.1423, allocations: 136.2 kB / 299.6 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1424, allocations: 34.53 kB / 299.6 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003918/0.1428, allocations: 0.9286 MB / 300.6 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.1429, allocations: 27.89 kB / 300.6 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.143, allocations: 14.11 kB / 300.6 MB, free: 21.44 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.000114/0.1431, allocations: 176 kB / 300.8 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.1432, allocations: 117.6 kB / 300.9 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004277/0.1436, allocations: 344 kB / 301.2 MB, free: 21.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.1436, allocations: 7.094 kB / 301.2 MB, free: 21.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1436, allocations: 0 / 301.2 MB, free: 21.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1436, allocations: 2.219 kB / 301.2 MB, free: 21.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.1441, allocations: 488.7 kB / 301.7 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/0.1441, allocations: 12.39 kB / 301.7 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.1442, allocations: 23.72 kB / 301.7 MB, free: 20.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001922/0.1443, allocations: 127.8 kB / 301.9 MB, free: 20.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1444, allocations: 8.922 kB / 301.9 MB, free: 20.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003181/0.1447, allocations: 0.9205 MB / 302.8 MB, free: 19.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1447, allocations: 0 / 302.8 MB, free: 19.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.145, allocations: 466 kB / 303.3 MB, free: 19.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.651e-05/0.1451, allocations: 94.81 kB / 303.3 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.1452, allocations: 1.375 kB / 303.4 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1453, allocations: 12.52 kB / 303.4 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.1453, allocations: 14 kB / 303.4 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.1453, allocations: 12.25 kB / 303.4 MB, free: 19.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003982/0.1457, allocations: 0.514 MB / 303.9 MB, free: 19.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1457, allocations: 0 / 303.9 MB, free: 19.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004154/0.1461, allocations: 205.6 kB / 304.1 MB, free: 19.29 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.000379/0.1465, allocations: 319.7 kB / 304.4 MB, free: 19.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003337/0.1468, allocations: 227.6 kB / 304.6 MB, free: 19.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1468, allocations: 0 / 304.6 MB, free: 19.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.147, allocations: 175 kB / 304.8 MB, free: 19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.1474, allocations: 165 kB / 305 MB, free: 18.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.1485, allocations: 1.175 MB / 306.1 MB, free: 18.26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.617e-05/0.1485, allocations: 139.6 kB / 306.3 MB, free: 18.19 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.1487, allocations: 105.6 kB / 306.4 MB, free: 18.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.1488, allocations: 51.12 kB / 306.4 MB, free: 18.15 MB / 266.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1488, allocations: 0 / 306.4 MB, free: 18.15 MB / 266.7 MB Notification: Performance of Templates: time 0.01126/0.16, allocations: 10.15 MB / 316.6 MB, free: 10.16 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.806156931910664]