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.0009701/0.0009701, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.0009252/0.0009252, allocations: 149.5 kB / 24.81 MB, free: 9.285 MB / 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.9841/0.9841, allocations: 173.3 MB / 201.4 MB, free: 9.242 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.442e-06/1.442e-06, allocations: 0 / 268.4 MB, free: 6.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.627e-05, allocations: 2.312 kB / 268.4 MB, free: 6.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004284/0.0043, allocations: 5.033 MB / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007778/0.01208, allocations: 8.485 MB / 281.9 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004716/0.01255, allocations: 55.38 kB / 282 MB, free: 8.598 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006976/0.01325, allocations: 369.5 kB / 282.3 MB, free: 8.234 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.01497, allocations: 0.8765 MB / 283.2 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.01619, allocations: 0.6062 MB / 283.8 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001658/0.01785, allocations: 1.783 MB / 285.6 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.01805, allocations: 95.38 kB / 285.7 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.0191, allocations: 0.8357 MB / 286.5 MB, free: 4.008 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.01934, allocations: 231.2 kB / 286.8 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.01938, allocations: 28 kB / 286.8 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008334/0.02022, allocations: 0.5696 MB / 287.3 MB, free: 3.184 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.98e-05/0.02029, allocations: 107.3 kB / 287.5 MB, free: 3.078 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.02044, allocations: 231.3 kB / 287.7 MB, free: 2.852 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008904/0.02133, allocations: 0.946 MB / 288.6 MB, free: 1.902 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.02134, allocations: 0 / 288.6 MB, free: 1.902 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.02134, allocations: 0 / 288.6 MB, free: 1.902 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.02135, allocations: 0 / 288.6 MB, free: 1.902 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.00122/0.02257, allocations: 1.369 MB / 290 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.02261, allocations: 12.92 kB / 290 MB, free: 492 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.02273, allocations: 136.2 kB / 290.1 MB, free: 356 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1044/0.1271, allocations: 0.8459 MB / 291 MB, free: 25.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.1272, allocations: 21.66 kB / 291 MB, free: 25.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.1272, allocations: 26.58 kB / 291 MB, free: 25.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.1275, allocations: 267 kB / 291.3 MB, free: 25.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1276, allocations: 0 / 291.3 MB, free: 25.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.1276, allocations: 9.375 kB / 291.3 MB, free: 25.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.1276, allocations: 10.45 kB / 291.3 MB, free: 25.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.1278, allocations: 114.3 kB / 291.4 MB, free: 25.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.1289, allocations: 0.9522 MB / 292.4 MB, free: 24.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.1291, allocations: 123.7 kB / 292.5 MB, free: 24.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.1292, allocations: 150.5 kB / 292.6 MB, free: 24.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004086/0.1333, allocations: 3.359 MB / 296 MB, free: 24.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.1333, allocations: 35.39 kB / 296 MB, free: 24.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 2.305e-06/0.1333, allocations: 0 / 296 MB, free: 24.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008354/0.1341, allocations: 496.1 kB / 296.5 MB, free: 24.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.1342, allocations: 81.72 kB / 296.6 MB, free: 24.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006056/0.1348, allocations: 0.8688 MB / 297.5 MB, free: 23.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1348, allocations: 30.77 kB / 297.5 MB, free: 23.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.135, allocations: 0.5203 MB / 298 MB, free: 23.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.1351, allocations: 89.78 kB / 298.1 MB, free: 23.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.1351, allocations: 59 kB / 298.2 MB, free: 23.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.1352, allocations: 497.7 kB / 298.7 MB, free: 23.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.007e-05/0.1352, allocations: 34.98 kB / 298.7 MB, free: 23.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.644e-05/0.1353, allocations: 174.9 kB / 298.9 MB, free: 22.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.1355, allocations: 194.3 kB / 299 MB, free: 22.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1355, allocations: 0.9688 kB / 299 MB, free: 22.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003314/0.1358, allocations: 332.9 kB / 299.4 MB, free: 22.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1358, allocations: 6.438 kB / 299.4 MB, free: 22.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.1358, allocations: 14.19 kB / 299.4 MB, free: 22.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002098/0.136, allocations: 129 kB / 299.5 MB, free: 22.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.1361, allocations: 35.61 kB / 299.6 MB, free: 22.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003208/0.1364, allocations: 0.9188 MB / 300.5 MB, free: 21.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.1366, allocations: 25.23 kB / 300.5 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.1366, allocations: 18.3 kB / 300.5 MB, free: 21.89 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.0001036/0.1367, allocations: 173.9 kB / 300.7 MB, free: 21.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.974e-05/0.1368, allocations: 116.6 kB / 300.8 MB, free: 21.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/0.1372, allocations: 330.7 kB / 301.1 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1372, allocations: 3.578 kB / 301.1 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.1372, allocations: 0 / 301.1 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1372, allocations: 1.266 kB / 301.1 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.1376, allocations: 353.8 kB / 301.5 MB, free: 21.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.1376, allocations: 15.77 kB / 301.5 MB, free: 21.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.247e-05/0.1376, allocations: 16.91 kB / 301.5 MB, free: 21.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/0.1378, allocations: 130.3 kB / 301.6 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1378, allocations: 8.531 kB / 301.6 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000261/0.1381, allocations: 0.9103 MB / 302.5 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1381, allocations: 0 / 302.5 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.1384, allocations: 443.4 kB / 303 MB, free: 20.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.946e-05/0.1385, allocations: 99.27 kB / 303.1 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/0.1385, allocations: 5.969 kB / 303.1 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.1386, allocations: 2.75 kB / 303.1 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.1387, allocations: 16.77 kB / 303.1 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.1387, allocations: 7.906 kB / 303.1 MB, free: 20.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003608/0.139, allocations: 0.4921 MB / 303.6 MB, free: 20.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.139, allocations: 0 / 303.6 MB, free: 20.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004062/0.1394, allocations: 200.2 kB / 303.8 MB, free: 20.11 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.0003873/0.1398, allocations: 338.4 kB / 304.1 MB, free: 19.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.1401, allocations: 224.1 kB / 304.3 MB, free: 19.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1401, allocations: 5.094 kB / 304.4 MB, free: 19.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.1402, allocations: 156.4 kB / 304.5 MB, free: 19.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.1407, allocations: 166.3 kB / 304.7 MB, free: 19.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009731/0.1416, allocations: 1.164 MB / 305.8 MB, free: 19.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.926e-05/0.1417, allocations: 138.7 kB / 306 MB, free: 19.01 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000179/0.1419, allocations: 109.9 kB / 306.1 MB, free: 18.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.142, allocations: 219 kB / 306.3 MB, free: 18.91 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.142, allocations: 0 / 306.3 MB, free: 18.91 MB / 266.7 MB Notification: Performance of Templates: time 0.01093/0.153, allocations: 9.874 MB / 316.2 MB, free: 11.35 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.785814337898046]