Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002036/0.002036, allocations: 96.3 kB / 21.73 MB, free: 2.699 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.002372/0.002372, allocations: 171.9 kB / 25.02 MB, free: 8.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 250.4 MB, free: 7.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.717e-05, allocations: 6.109 kB / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006704/0.006731, allocations: 4.511 MB / 254.9 MB, free: 3.309 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.01814, allocations: 7.509 MB / 262.4 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006444/0.01878, allocations: 59.38 kB / 262.4 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.01983, allocations: 337.5 kB / 262.8 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002588/0.02242, allocations: 0.8647 MB / 263.6 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.02412, allocations: 0.5984 MB / 264.2 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002801/0.02692, allocations: 1.701 MB / 265.9 MB, free: 8.191 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.02719, allocations: 107.3 kB / 266 MB, free: 8.074 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00058/0.02777, allocations: 418.9 kB / 266.4 MB, free: 7.664 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/0.02813, allocations: 223.2 kB / 266.7 MB, free: 7.445 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.481e-05/0.02821, allocations: 32 kB / 266.7 MB, free: 7.414 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.02954, allocations: 0.5307 MB / 267.2 MB, free: 6.883 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.02966, allocations: 99.36 kB / 267.3 MB, free: 6.785 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003253/0.02998, allocations: 227.3 kB / 267.5 MB, free: 6.562 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.03175, allocations: 1.23 MB / 268.8 MB, free: 5.328 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.03176, allocations: 0 / 268.8 MB, free: 5.328 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.03176, allocations: 0 / 268.8 MB, free: 5.328 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.03177, allocations: 7.938 kB / 268.8 MB, free: 5.32 MB / 250.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.002317/0.03409, allocations: 1.226 MB / 270 MB, free: 4.059 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.03413, allocations: 11.98 kB / 270 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.03434, allocations: 140.2 kB / 270.2 MB, free: 3.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.03579, allocations: 0.8782 MB / 271 MB, free: 2.969 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.03582, allocations: 20.44 kB / 271.1 MB, free: 2.949 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/0.03588, allocations: 27.95 kB / 271.1 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/0.03652, allocations: 341.5 kB / 271.4 MB, free: 2.574 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.03653, allocations: 3.938 kB / 271.4 MB, free: 2.57 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.03657, allocations: 8 kB / 271.4 MB, free: 2.562 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.03658, allocations: 12 kB / 271.4 MB, free: 2.551 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004805/0.03706, allocations: 234 kB / 271.7 MB, free: 2.324 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.03894, allocations: 1.037 MB / 272.7 MB, free: 1.234 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.03938, allocations: 186.4 kB / 272.9 MB, free: 1.043 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.03975, allocations: 197.2 kB / 273.1 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007528/0.04728, allocations: 3.289 MB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.04731, allocations: 34.56 kB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.693e-06/0.04731, allocations: 0 / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.001827/0.04914, allocations: 0.5876 MB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.04921, allocations: 81.11 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.0503, allocations: 0.782 MB / 277.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.05033, allocations: 29.7 kB / 277.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004833/0.05081, allocations: 448.7 kB / 278.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.05092, allocations: 87.25 kB / 278.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.05105, allocations: 53.94 kB / 278.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.05124, allocations: 322 kB / 278.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.0514, allocations: 68.19 kB / 278.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.05166, allocations: 167.6 kB / 279 MB, free: 10.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.05208, allocations: 228.9 kB / 279.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.05209, allocations: 7.938 kB / 279.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007562/0.05284, allocations: 409.8 kB / 279.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.05286, allocations: 4 kB / 279.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.663e-05/0.0529, allocations: 20 kB / 279.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004256/0.05332, allocations: 140.8 kB / 279.8 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.05351, allocations: 39.91 kB / 279.8 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008381/0.05435, allocations: 0.7087 MB / 280.5 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.05463, allocations: 27.81 kB / 280.6 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/0.05467, allocations: 19.98 kB / 280.6 MB, free: 9.125 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.0003022/0.05498, allocations: 193.8 kB / 280.8 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.05513, allocations: 111.3 kB / 280.9 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000904/0.05604, allocations: 399.4 kB / 281.3 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.05605, allocations: 4 kB / 281.3 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.05605, allocations: 3.938 kB / 281.3 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.05606, allocations: 3.984 kB / 281.3 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006334/0.05669, allocations: 426.3 kB / 281.7 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.922e-05/0.05672, allocations: 8 kB / 281.7 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.05685, allocations: 19.98 kB / 281.7 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003191/0.05717, allocations: 139.8 kB / 281.9 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.05719, allocations: 4 kB / 281.9 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007908/0.05798, allocations: 0.7123 MB / 282.6 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.05798, allocations: 3.938 kB / 282.6 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007233/0.0587, allocations: 464.1 kB / 283 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.05889, allocations: 99.3 kB / 283.1 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.17e-05/0.05897, allocations: 8 kB / 283.1 MB, free: 6.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.05919, allocations: 8 kB / 283.2 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.05925, allocations: 11.97 kB / 283.2 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.05928, allocations: 8 kB / 283.2 MB, free: 6.445 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0008587/0.06014, allocations: 0.53 MB / 283.7 MB, free: 5.906 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06014, allocations: 0 / 283.7 MB, free: 5.906 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006412/0.06078, allocations: 203.6 kB / 283.9 MB, free: 5.707 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.000594/0.06137, allocations: 323.2 kB / 284.2 MB, free: 5.375 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006325/0.062, allocations: 269.5 kB / 284.5 MB, free: 5.102 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.06201, allocations: 0 / 284.5 MB, free: 5.102 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.06233, allocations: 164.1 kB / 284.6 MB, free: 4.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006546/0.06299, allocations: 152.1 kB / 284.8 MB, free: 4.777 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.06507, allocations: 1.229 MB / 286 MB, free: 3.508 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.06546, allocations: 349.1 kB / 286.4 MB, free: 3.141 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003027/0.06576, allocations: 110.7 kB / 286.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-05/0.06586, allocations: 56.48 kB / 286.5 MB, free: 2.969 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.06586, allocations: 0 / 286.5 MB, free: 2.969 MB / 266.7 MB Notification: Performance of Templates: time 0.019/0.08486, allocations: 8.68 MB / 295.2 MB, free: 10.33 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.63326794502791]