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.00138/0.00138, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002028/0.003409, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001197/0.001197, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001655/0.002852, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9812/0.9812, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08412/1.065, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.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.924e-06/1.924e-06, allocations: 3.938 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.363e-05, allocations: 2.312 kB / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005535/0.005559, allocations: 5.081 MB / 244.6 MB, free: 14.08 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007961/0.01352, allocations: 8.718 MB / 253.3 MB, free: 5.324 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005294/0.01405, allocations: 55.38 kB / 253.4 MB, free: 5.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.01473, allocations: 369.4 kB / 253.8 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.0164, allocations: 0.8531 MB / 254.6 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.01755, allocations: 0.5749 MB / 255.2 MB, free: 3.469 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001516/0.01907, allocations: 1.736 MB / 256.9 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.01925, allocations: 123.2 kB / 257 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007864/0.02004, allocations: 0.9333 MB / 258 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.02028, allocations: 239.2 kB / 258.2 MB, free: 404 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.02032, allocations: 28 kB / 258.2 MB, free: 376 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009232/0.02124, allocations: 0.6087 MB / 258.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.804e-05/0.02131, allocations: 87.31 kB / 258.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.02147, allocations: 211.4 kB / 259.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008112/0.02228, allocations: 0.8642 MB / 260 MB, free: 14.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.669e-05/0.02229, allocations: 4 kB / 260 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.02229, allocations: 0 / 260 MB, free: 14.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.02232, allocations: 0 / 260 MB, free: 14.59 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.001188/0.0235, allocations: 1.479 MB / 261.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.02353, allocations: 8.031 kB / 261.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.548e-05/0.02362, allocations: 88.84 kB / 261.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/0.02426, allocations: 0.7066 MB / 262.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.02428, allocations: 16.88 kB / 262.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.02433, allocations: 28.12 kB / 262.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.02466, allocations: 264.9 kB / 262.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.02467, allocations: 4 kB / 262.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.02469, allocations: 8 kB / 262.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.0247, allocations: 12 kB / 262.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.02486, allocations: 93.06 kB / 262.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.02587, allocations: 0.7061 MB / 263.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.02607, allocations: 154.3 kB / 263.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.02623, allocations: 133.2 kB / 263.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005083/0.03131, allocations: 3.577 MB / 267.3 MB, free: 7.113 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.03133, allocations: 34.56 kB / 267.3 MB, free: 7.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.974e-06/0.03133, allocations: 0 / 267.3 MB, free: 7.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008642/0.0322, allocations: 406.2 kB / 267.7 MB, free: 6.664 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.03223, allocations: 51.41 kB / 267.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005121/0.03274, allocations: 0.721 MB / 268.5 MB, free: 5.863 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.03276, allocations: 29.7 kB / 268.5 MB, free: 5.828 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.03291, allocations: 274.8 kB / 268.8 MB, free: 5.555 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.03296, allocations: 83.25 kB / 268.8 MB, free: 5.473 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.859e-05/0.03303, allocations: 49.91 kB / 268.9 MB, free: 5.418 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.03312, allocations: 322 kB / 269.2 MB, free: 5.098 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.309e-05/0.03317, allocations: 24.22 kB / 269.2 MB, free: 5.074 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.03327, allocations: 131.5 kB / 269.4 MB, free: 4.906 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.03343, allocations: 154.1 kB / 269.5 MB, free: 4.727 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.03343, allocations: 4 kB / 269.5 MB, free: 4.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002826/0.03372, allocations: 237.2 kB / 269.7 MB, free: 4.484 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.03373, allocations: 7.938 kB / 269.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.03375, allocations: 4 kB / 269.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002208/0.03397, allocations: 108.2 kB / 269.9 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.03409, allocations: 43.97 kB / 269.9 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000363/0.03445, allocations: 0.6095 MB / 270.5 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.0346, allocations: 19.84 kB / 270.5 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.03463, allocations: 15.98 kB / 270.6 MB, free: 3.656 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.0001167/0.03474, allocations: 129.7 kB / 270.7 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.702e-05/0.03482, allocations: 71.91 kB / 270.7 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/0.03521, allocations: 263.5 kB / 271 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.03522, allocations: 4 kB / 271 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.03522, allocations: 0 / 271 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.03522, allocations: 0 / 271 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.03555, allocations: 293.9 kB / 271.3 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.03557, allocations: 7.984 kB / 271.3 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.267e-05/0.03564, allocations: 15.98 kB / 271.3 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.03574, allocations: 99.27 kB / 271.4 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001734/0.03592, allocations: 104.6 kB / 271.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.03593, allocations: 0 / 271.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003191/0.03625, allocations: 0.6069 MB / 272.1 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.03625, allocations: 4.031 kB / 272.1 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.03653, allocations: 296.8 kB / 272.4 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/0.03659, allocations: 8 kB / 272.4 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.03673, allocations: 3.938 kB / 272.4 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.03676, allocations: 15.97 kB / 272.4 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.03678, allocations: 4 kB / 272.5 MB, free: 1.668 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002895/0.03707, allocations: 356.8 kB / 272.8 MB, free: 1.309 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03707, allocations: 0 / 272.8 MB, free: 1.309 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004124/0.03748, allocations: 195.7 kB / 273 MB, free: 1.117 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.0004534/0.03793, allocations: 324.6 kB / 273.3 MB, free: 0.793 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002923/0.03822, allocations: 190.2 kB / 273.5 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.811e-05/0.03824, allocations: 12 kB / 273.5 MB, free: 0.582 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.03838, allocations: 130.5 kB / 273.6 MB, free: 456 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.03892, allocations: 239.4 kB / 273.9 MB, free: 220 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1076/0.1465, allocations: 1.152 MB / 275 MB, free: 22.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.1466, allocations: 139 kB / 275.2 MB, free: 22.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003505/0.147, allocations: 107.1 kB / 275.3 MB, free: 22.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.1473, allocations: 190.5 kB / 275.4 MB, free: 22 MB / 266.7 MB Notification: Performance of SimCode: time 1.322e-06/0.1473, allocations: 0 / 275.4 MB, free: 22 MB / 266.7 MB Notification: Performance of Templates: time 0.01739/0.1647, allocations: 10.16 MB / 285.6 MB, free: 19.8 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 -ignoreHideResult -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.885498847812414]