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.001288/0.001288, allocations: 85.05 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.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.001404/0.001404, allocations: 146.2 kB / 24.89 MB, free: 8.742 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.8734/0.8734, allocations: 173.4 MB / 201.5 MB, free: 8.266 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.663e-06/1.663e-06, allocations: 0 / 268.5 MB, free: 9.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.931e-05, allocations: 2.312 kB / 268.5 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004609/0.004628, allocations: 5.079 MB / 273.6 MB, free: 4.668 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007309/0.01194, allocations: 8.648 MB / 282.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003855/0.01232, allocations: 55.38 kB / 282.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006274/0.01295, allocations: 377.5 kB / 282.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.01432, allocations: 0.8569 MB / 283.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009172/0.01523, allocations: 0.5711 MB / 284.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001471/0.0167, allocations: 1.775 MB / 285.9 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.01688, allocations: 115.3 kB / 286 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006799/0.01756, allocations: 0.8317 MB / 286.8 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.01782, allocations: 235.2 kB / 287 MB, free: 7.148 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.01786, allocations: 32 kB / 287.1 MB, free: 7.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007924/0.01865, allocations: 0.6048 MB / 287.7 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.606e-05/0.01872, allocations: 107.4 kB / 287.8 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.01887, allocations: 231.3 kB / 288 MB, free: 6.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000805/0.01968, allocations: 0.946 MB / 288.9 MB, free: 5.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.01968, allocations: 0 / 288.9 MB, free: 5.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01968, allocations: 0 / 288.9 MB, free: 5.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.01969, allocations: 0 / 288.9 MB, free: 5.23 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.0009696/0.02066, allocations: 1.217 MB / 290.2 MB, free: 3.984 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.02069, allocations: 8.031 kB / 290.2 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.864e-05/0.02078, allocations: 92.83 kB / 290.3 MB, free: 3.887 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006318/0.02141, allocations: 0.7028 MB / 291 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.02143, allocations: 16.88 kB / 291 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.02146, allocations: 32.11 kB / 291 MB, free: 3.062 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.02171, allocations: 257 kB / 291.3 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.02172, allocations: 0 / 291.3 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.02173, allocations: 7.938 kB / 291.3 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.02174, allocations: 15.98 kB / 291.3 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.02186, allocations: 97.06 kB / 291.4 MB, free: 2.676 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007815/0.02264, allocations: 0.6983 MB / 292.1 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.0228, allocations: 154.2 kB / 292.2 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.02291, allocations: 133.2 kB / 292.4 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003893/0.0268, allocations: 3.569 MB / 295.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.02682, allocations: 34.55 kB / 296 MB, free: 14.01 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.422e-06/0.02682, allocations: 8 kB / 296 MB, free: 14 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006741/0.0275, allocations: 401.8 kB / 296.4 MB, free: 13.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.02753, allocations: 77.11 kB / 296.4 MB, free: 13.51 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003876/0.02792, allocations: 0.721 MB / 297.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.02793, allocations: 29.7 kB / 297.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.02806, allocations: 270.9 kB / 297.5 MB, free: 12.46 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.0281, allocations: 87.23 kB / 297.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/0.02815, allocations: 49.92 kB / 297.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.769e-05/0.02822, allocations: 317.9 kB / 297.9 MB, free: 12 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.153e-05/0.02825, allocations: 20.23 kB / 297.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.641e-05/0.02833, allocations: 131.8 kB / 298.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.02846, allocations: 159.3 kB / 298.2 MB, free: 11.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.02846, allocations: 0 / 298.2 MB, free: 11.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002195/0.02868, allocations: 234.5 kB / 298.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.02869, allocations: 11.92 kB / 298.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.02871, allocations: 4 kB / 298.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.02889, allocations: 108.6 kB / 298.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.02898, allocations: 35.97 kB / 298.6 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003018/0.02928, allocations: 0.6055 MB / 299.2 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.02939, allocations: 23.84 kB / 299.2 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.02942, allocations: 12 kB / 299.2 MB, free: 10.57 MB / 282.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.0001044/0.02952, allocations: 129.7 kB / 299.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.02958, allocations: 75.83 kB / 299.4 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.02989, allocations: 281 kB / 299.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.0299, allocations: 4 kB / 299.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.0299, allocations: 0 / 299.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.0299, allocations: 0 / 299.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.03015, allocations: 286.1 kB / 300 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.03016, allocations: 0 / 300 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-05/0.03022, allocations: 23.97 kB / 300 MB, free: 9.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001422/0.03036, allocations: 104.6 kB / 300.1 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.03037, allocations: 7.938 kB / 300.1 MB, free: 9.637 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002672/0.03064, allocations: 0.607 MB / 300.7 MB, free: 9.004 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.03064, allocations: 0 / 300.7 MB, free: 9.004 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.03085, allocations: 303.5 kB / 301 MB, free: 8.691 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/0.03093, allocations: 87.28 kB / 301.1 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.03097, allocations: 0 / 301.1 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.652e-05/0.03106, allocations: 15.92 kB / 301.1 MB, free: 8.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.0311, allocations: 11.98 kB / 301.1 MB, free: 8.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.03111, allocations: 0 / 301.1 MB, free: 8.578 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002272/0.03133, allocations: 364.8 kB / 301.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03133, allocations: 0 / 301.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003031/0.03164, allocations: 195.7 kB / 301.7 MB, free: 8.02 MB / 282.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.000343/0.03198, allocations: 328.6 kB / 302 MB, free: 7.688 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.03228, allocations: 194.1 kB / 302.2 MB, free: 7.484 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/0.03229, allocations: 8 kB / 302.2 MB, free: 7.477 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.0324, allocations: 136.3 kB / 302.3 MB, free: 7.332 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.03277, allocations: 163.2 kB / 302.5 MB, free: 7.172 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.03383, allocations: 1.139 MB / 303.6 MB, free: 5.992 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.463e-05/0.03392, allocations: 142.1 kB / 303.8 MB, free: 5.832 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.0341, allocations: 106.7 kB / 303.9 MB, free: 5.723 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.03429, allocations: 189.3 kB / 304.1 MB, free: 5.535 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.03429, allocations: 7.938 kB / 304.1 MB, free: 5.527 MB / 282.7 MB Notification: Performance of Templates: time 0.01237/0.04666, allocations: 9.835 MB / 313.9 MB, free: 11.82 MB / 298.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 -s gbode -gbm=radauIIA3 -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.555889328941703]