Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008436/0.0008436, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008969/0.0008969, allocations: 169.9 kB / 24.92 MB, free: 8.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.953/0.953, allocations: 177 MB / 205.2 MB, free: 5.426 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 273.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.595e-05, allocations: 2.312 kB / 273.4 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004454/0.00447, allocations: 5.092 MB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007736/0.01221, allocations: 8.682 MB / 287.2 MB, free: 3.324 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003515/0.01256, allocations: 59.38 kB / 287.2 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006799/0.01324, allocations: 373.4 kB / 287.6 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.01469, allocations: 0.8687 MB / 288.5 MB, free: 2.023 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009881/0.01568, allocations: 0.5788 MB / 289.1 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1113/0.127, allocations: 1.79 MB / 290.8 MB, free: 16.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.1272, allocations: 108.7 kB / 291 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.1282, allocations: 0.8677 MB / 291.8 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003562/0.1286, allocations: 235.5 kB / 292 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.445e-05/0.1286, allocations: 30.84 kB / 292.1 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.1299, allocations: 0.6196 MB / 292.7 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.1299, allocations: 105.6 kB / 292.8 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.1301, allocations: 234.4 kB / 293 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.1312, allocations: 0.9656 MB / 294 MB, free: 16.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1312, allocations: 0 / 294 MB, free: 16.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1312, allocations: 1.281 kB / 294 MB, free: 16.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.1312, allocations: 0 / 294 MB, free: 16.09 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.001064/0.1323, allocations: 1.209 MB / 295.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.1323, allocations: 12.8 kB / 295.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.1325, allocations: 105.8 kB / 295.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006455/0.1332, allocations: 0.7018 MB / 296 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.1332, allocations: 19.47 kB / 296 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.1332, allocations: 23.98 kB / 296.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.1335, allocations: 266.1 kB / 296.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1335, allocations: 1.625 kB / 296.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.1335, allocations: 9.281 kB / 296.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1336, allocations: 7.797 kB / 296.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.1337, allocations: 97.62 kB / 296.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008038/0.1345, allocations: 0.7149 MB / 297.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.1346, allocations: 142.7 kB / 297.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.1348, allocations: 137.5 kB / 297.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004292/0.1391, allocations: 3.586 MB / 301 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.1391, allocations: 40.73 kB / 301.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.714e-06/0.1391, allocations: 0.6094 kB / 301.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006954/0.1398, allocations: 403.5 kB / 301.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.1398, allocations: 86.88 kB / 301.5 MB, free: 13.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.1402, allocations: 0.7132 MB / 302.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1402, allocations: 25.7 kB / 302.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.114e-05/0.1403, allocations: 274.3 kB / 302.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.1403, allocations: 83.91 kB / 302.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.1404, allocations: 57.3 kB / 302.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.794e-05/0.1404, allocations: 317 kB / 303 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.171e-05/0.1404, allocations: 19.89 kB / 303 MB, free: 12.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-05/0.1405, allocations: 135.3 kB / 303.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1406, allocations: 152.8 kB / 303.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1406, allocations: 2.781 kB / 303.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002003/0.1408, allocations: 235.1 kB / 303.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1408, allocations: 6.125 kB / 303.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.1408, allocations: 6.516 kB / 303.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/0.141, allocations: 111.1 kB / 303.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.425e-05/0.1411, allocations: 38.39 kB / 303.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002193/0.1413, allocations: 0.6059 MB / 304.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1414, allocations: 25.89 kB / 304.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.1414, allocations: 13.38 kB / 304.3 MB, free: 12.19 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 8.785e-05/0.1415, allocations: 126.4 kB / 304.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.1416, allocations: 74.2 kB / 304.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.1419, allocations: 271.5 kB / 304.8 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1419, allocations: 3.594 kB / 304.8 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.1419, allocations: 4 kB / 304.8 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1419, allocations: 2.953 kB / 304.8 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.1421, allocations: 283.6 kB / 305.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.1421, allocations: 8.922 kB / 305.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.1422, allocations: 21.69 kB / 305.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.1423, allocations: 100.1 kB / 305.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1423, allocations: 4.172 kB / 305.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000183/0.1425, allocations: 0.6071 MB / 305.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1425, allocations: 0 / 305.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.1427, allocations: 290.9 kB / 306.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.1428, allocations: 90.56 kB / 306.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.1428, allocations: 4.688 kB / 306.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.54e-05/0.1429, allocations: 10.17 kB / 306.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.1429, allocations: 21.08 kB / 306.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1429, allocations: 3.5 kB / 306.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001721/0.1431, allocations: 359.6 kB / 306.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1431, allocations: 0 / 306.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002924/0.1434, allocations: 202.9 kB / 306.8 MB, free: 11.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.0003049/0.1437, allocations: 322.8 kB / 307.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.1439, allocations: 194.8 kB / 307.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.1439, allocations: 13.84 kB / 307.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.446e-05/0.144, allocations: 140.2 kB / 307.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1444, allocations: 162.7 kB / 307.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008606/0.1452, allocations: 1.136 MB / 308.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.584e-05/0.1453, allocations: 141.8 kB / 308.9 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001559/0.1454, allocations: 105.5 kB / 309 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.1456, allocations: 195.7 kB / 309.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1456, allocations: 0 / 309.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of Templates: time 0.009958/0.1555, allocations: 9.885 MB / 319 MB, free: 1.125 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.74979062192142]