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.001367/0.001367, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001574/0.001574, allocations: 171.3 kB / 24.91 MB, free: 9.191 MB / 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 0.9398/0.9398, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.343e-06/1.343e-06, allocations: 0 / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.349e-05, allocations: 6.312 kB / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004096/0.00411, allocations: 5.096 MB / 278.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007012/0.01112, allocations: 8.682 MB / 287.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003046/0.01143, allocations: 63.25 kB / 287.3 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005877/0.01201, allocations: 381.4 kB / 287.7 MB, free: 2.988 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.01328, allocations: 0.8609 MB / 288.5 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.01436, allocations: 0.5749 MB / 289.1 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0975/0.1119, allocations: 1.803 MB / 290.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.1121, allocations: 106.3 kB / 291 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009797/0.1131, allocations: 0.8649 MB / 291.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.1134, allocations: 236.6 kB / 292.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.877e-05/0.1135, allocations: 28.56 kB / 292.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.1145, allocations: 0.6196 MB / 292.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.73e-05/0.1146, allocations: 105.4 kB / 292.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.1148, allocations: 233.2 kB / 293.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009715/0.1158, allocations: 0.9699 MB / 294.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1158, allocations: 0 / 294.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1158, allocations: 2.062 kB / 294.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.1158, allocations: 0 / 294.1 MB, free: 15.67 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.0009776/0.1168, allocations: 1.207 MB / 295.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.1168, allocations: 9.125 kB / 295.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.117, allocations: 103 kB / 295.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006044/0.1176, allocations: 0.7018 MB / 296.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1176, allocations: 17.89 kB / 296.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.1176, allocations: 26.5 kB / 296.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.1179, allocations: 271 kB / 296.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1179, allocations: 0 / 296.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.1179, allocations: 7.5 kB / 296.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.1179, allocations: 11.11 kB / 296.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.118, allocations: 93.73 kB / 296.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007621/0.1188, allocations: 0.709 MB / 297.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.119, allocations: 144.3 kB / 297.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.1191, allocations: 130.9 kB / 297.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004305/0.1234, allocations: 3.596 MB / 301.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.1234, allocations: 39.14 kB / 301.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.323e-06/0.1234, allocations: 0 / 301.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.000851/0.1242, allocations: 406.8 kB / 301.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.1243, allocations: 80.61 kB / 301.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004658/0.1247, allocations: 0.7055 MB / 302.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1247, allocations: 31.52 kB / 302.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.1249, allocations: 282.1 kB / 302.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.1249, allocations: 80.91 kB / 302.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.1249, allocations: 49.27 kB / 302.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.696e-05/0.125, allocations: 316.8 kB / 303 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.176e-05/0.125, allocations: 34.55 kB / 303.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.747e-05/0.1251, allocations: 133.1 kB / 303.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1252, allocations: 149.4 kB / 303.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1252, allocations: 7.75 kB / 303.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002509/0.1255, allocations: 230.4 kB / 303.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1255, allocations: 3.469 kB / 303.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.1255, allocations: 14.14 kB / 303.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002025/0.1257, allocations: 111.7 kB / 303.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1258, allocations: 35.73 kB / 303.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002462/0.126, allocations: 0.609 MB / 304.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.1262, allocations: 24.25 kB / 304.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.1262, allocations: 5.781 kB / 304.4 MB, free: 11.78 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 9.814e-05/0.1263, allocations: 129.6 kB / 304.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.1264, allocations: 73.11 kB / 304.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.1267, allocations: 268.8 kB / 304.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1267, allocations: 2.125 kB / 304.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.1267, allocations: 0 / 304.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1268, allocations: 2.531 kB / 304.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.1271, allocations: 286.4 kB / 305.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.1271, allocations: 12.58 kB / 305.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.838e-05/0.1272, allocations: 22.28 kB / 305.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001541/0.1273, allocations: 93.86 kB / 305.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1273, allocations: 3.562 kB / 305.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002111/0.1275, allocations: 0.6172 MB / 305.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1275, allocations: 0 / 305.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.1277, allocations: 295.7 kB / 306.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.129e-05/0.1278, allocations: 91.52 kB / 306.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.869e-05/0.1279, allocations: 9.656 kB / 306.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.128, allocations: 3.312 kB / 306.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1281, allocations: 14.91 kB / 306.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.1281, allocations: 9.625 kB / 306.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002297/0.1283, allocations: 358.8 kB / 306.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1283, allocations: 2.156 kB / 306.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000403/0.1287, allocations: 201.5 kB / 306.8 MB, free: 10.7 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.0003704/0.1291, allocations: 322.2 kB / 307.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.1293, allocations: 192.4 kB / 307.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.1293, allocations: 12.61 kB / 307.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.1295, allocations: 138.3 kB / 307.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.1299, allocations: 155.2 kB / 307.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.131, allocations: 1.138 MB / 308.8 MB, free: 9.801 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.898e-05/0.131, allocations: 141.2 kB / 308.9 MB, free: 9.723 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001939/0.1312, allocations: 113.3 kB / 309 MB, free: 9.691 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.1314, allocations: 186.2 kB / 309.2 MB, free: 9.637 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1314, allocations: 0 / 309.2 MB, free: 9.637 MB / 266.7 MB Notification: Performance of Templates: time 0.01249/0.1439, allocations: 9.889 MB / 319.1 MB, free: 0.875 MB / 266.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 -s gbode -gbm=radauIIA3 -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.66195258917287]