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.001378/0.001378, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001038/0.001038, allocations: 171.9 kB / 24.82 MB, free: 9.273 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 1.065/1.065, allocations: 177 MB / 205.1 MB, free: 5.465 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.893e-06/1.893e-06, allocations: 0 / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.075e-05, allocations: 2.312 kB / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004466/0.004486, allocations: 5.036 MB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008112/0.0126, allocations: 8.54 MB / 286.9 MB, free: 3.594 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005722/0.01317, allocations: 55.38 kB / 286.9 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007294/0.0139, allocations: 373.4 kB / 287.3 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.01569, allocations: 0.8727 MB / 288.2 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.01702, allocations: 0.6179 MB / 288.8 MB, free: 1.672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1096/0.1267, allocations: 1.797 MB / 290.6 MB, free: 16.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.1269, allocations: 96.33 kB / 290.7 MB, free: 16.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.1281, allocations: 0.8664 MB / 291.6 MB, free: 16.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.1285, allocations: 237.3 kB / 291.8 MB, free: 16.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.466e-05/0.1286, allocations: 28.31 kB / 291.8 MB, free: 16.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.1299, allocations: 0.5771 MB / 292.4 MB, free: 16.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.96e-05/0.13, allocations: 108.8 kB / 292.5 MB, free: 16.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.1302, allocations: 233 kB / 292.7 MB, free: 16.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.1315, allocations: 0.9642 MB / 293.7 MB, free: 16.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1315, allocations: 1.125 kB / 293.7 MB, free: 16.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1315, allocations: 0 / 293.7 MB, free: 16.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.383e-05/0.1315, allocations: 0 / 293.7 MB, free: 16.25 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.001395/0.1329, allocations: 1.37 MB / 295.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1329, allocations: 13.08 kB / 295.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002559/0.1332, allocations: 147.6 kB / 295.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007844/0.134, allocations: 0.8479 MB / 296.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.134, allocations: 21.97 kB / 296.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.134, allocations: 26.94 kB / 296.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.1344, allocations: 264.6 kB / 296.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1344, allocations: 3.219 kB / 296.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.1344, allocations: 11.75 kB / 296.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.1344, allocations: 10.34 kB / 296.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.1346, allocations: 113.8 kB / 296.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.1357, allocations: 0.956 MB / 297.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.1359, allocations: 122.8 kB / 297.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.1361, allocations: 150.5 kB / 297.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004606/0.1407, allocations: 3.384 MB / 301.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.1407, allocations: 38.11 kB / 301.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.903e-06/0.1407, allocations: 0 / 301.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008713/0.1416, allocations: 498.7 kB / 301.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.1416, allocations: 79.8 kB / 301.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005852/0.1422, allocations: 0.8678 MB / 302.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.1422, allocations: 25.7 kB / 302.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.1425, allocations: 0.5294 MB / 303.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.1425, allocations: 87.92 kB / 303.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.1426, allocations: 62.75 kB / 303.3 MB, free: 13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.634e-05/0.1427, allocations: 0.4883 MB / 303.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.1427, allocations: 31.25 kB / 303.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.966e-05/0.1428, allocations: 167.4 kB / 304 MB, free: 12.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.1429, allocations: 184.6 kB / 304.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1429, allocations: 2.062 kB / 304.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003002/0.1432, allocations: 343.1 kB / 304.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1432, allocations: 6.375 kB / 304.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.1433, allocations: 22.59 kB / 304.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.1435, allocations: 125 kB / 304.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.1435, allocations: 38.88 kB / 304.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003037/0.1438, allocations: 0.9142 MB / 305.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.144, allocations: 22.81 kB / 305.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.144, allocations: 18.86 kB / 305.6 MB, free: 11.22 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.000106/0.1441, allocations: 175.3 kB / 305.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.1442, allocations: 108.3 kB / 305.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.1445, allocations: 327.7 kB / 306.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1445, allocations: 3.188 kB / 306.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.1445, allocations: 0 / 306.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1445, allocations: 0 / 306.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.1449, allocations: 363.9 kB / 306.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.1449, allocations: 13.12 kB / 306.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.944e-05/0.145, allocations: 19.52 kB / 306.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001658/0.1451, allocations: 131.1 kB / 306.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1452, allocations: 3.469 kB / 306.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002796/0.1454, allocations: 0.9058 MB / 307.7 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1454, allocations: 3.75 kB / 307.7 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1457, allocations: 441.4 kB / 308.1 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.992e-05/0.1458, allocations: 99.16 kB / 308.2 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.1458, allocations: 0 / 308.2 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.984e-05/0.1459, allocations: 13.09 kB / 308.2 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.1459, allocations: 18.56 kB / 308.2 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.146, allocations: 13.66 kB / 308.2 MB, free: 9.488 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000258/0.1462, allocations: 500 kB / 308.7 MB, free: 9.305 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1462, allocations: 0 / 308.7 MB, free: 9.305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004377/0.1467, allocations: 201.4 kB / 308.9 MB, free: 9.27 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.0003943/0.147, allocations: 340.8 kB / 309.2 MB, free: 9.145 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.1473, allocations: 220.1 kB / 309.5 MB, free: 9.059 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1473, allocations: 0 / 309.5 MB, free: 9.059 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.1474, allocations: 163.7 kB / 309.6 MB, free: 8.973 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.1479, allocations: 165.3 kB / 309.8 MB, free: 8.902 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.149, allocations: 1.153 MB / 310.9 MB, free: 8.242 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.34e-05/0.1491, allocations: 150.4 kB / 311.1 MB, free: 8.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.1493, allocations: 108.8 kB / 311.2 MB, free: 8.129 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.1494, allocations: 221.5 kB / 311.4 MB, free: 8.059 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1494, allocations: 0 / 311.4 MB, free: 8.059 MB / 266.7 MB Notification: Performance of Templates: time 0.01196/0.1614, allocations: 9.914 MB / 321.3 MB, free: 14.87 MB / 282.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 -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.969400609843433]