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.001025/0.001025, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001475/0.0025, allocations: 445.8 kB / 10.44 MB, free: 256 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.0008936/0.0008936, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001268/0.002162, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.833/0.833, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1536/0.9866, allocations: 52.48 MB / 238.5 MB, free: 7.645 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.553e-06/1.553e-06, allocations: 0 / 239.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.046e-05, allocations: 2.969 kB / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.00604/0.00606, allocations: 5.091 MB / 244.8 MB, free: 1.281 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.01684, allocations: 8.706 MB / 253.5 MB, free: 8.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004322/0.01727, allocations: 55.38 kB / 253.6 MB, free: 8.508 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007747/0.01805, allocations: 377.5 kB / 254 MB, free: 8.137 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.01986, allocations: 0.8569 MB / 254.8 MB, free: 7.273 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.02109, allocations: 0.5632 MB / 255.4 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002185/0.02328, allocations: 1.748 MB / 257.1 MB, free: 4.953 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.02351, allocations: 107.4 kB / 257.2 MB, free: 4.828 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.02475, allocations: 0.9333 MB / 258.2 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003727/0.02513, allocations: 251.1 kB / 258.4 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.887e-05/0.0252, allocations: 28 kB / 258.4 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007158/0.02591, allocations: 0.6009 MB / 259 MB, free: 2.996 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.02597, allocations: 87.38 kB / 259.1 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.02611, allocations: 203.4 kB / 259.3 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007022/0.02681, allocations: 0.8757 MB / 260.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.02682, allocations: 0 / 260.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.02683, allocations: 4 kB / 260.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.02684, allocations: 0 / 260.2 MB, free: 1.828 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.00104/0.02788, allocations: 1.468 MB / 261.7 MB, free: 320 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.589e-05/0.0279, allocations: 12.03 kB / 261.7 MB, free: 308 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.412e-05/0.02799, allocations: 92.83 kB / 261.8 MB, free: 216 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/0.02861, allocations: 0.7066 MB / 262.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.02863, allocations: 20.88 kB / 262.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.02866, allocations: 24.12 kB / 262.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.0289, allocations: 261 kB / 262.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.02891, allocations: 4 kB / 262.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.02893, allocations: 12 kB / 262.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.02894, allocations: 8 kB / 262.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.02905, allocations: 97 kB / 262.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007306/0.02978, allocations: 0.7061 MB / 263.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.02992, allocations: 142.4 kB / 263.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.03003, allocations: 137.2 kB / 263.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003749/0.03378, allocations: 3.596 MB / 267.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.0338, allocations: 30.56 kB / 267.5 MB, free: 10.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 9.52e-07/0.0338, allocations: 0 / 267.5 MB, free: 10.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.000657/0.03446, allocations: 406.2 kB / 267.9 MB, free: 9.902 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.03448, allocations: 55.41 kB / 268 MB, free: 9.836 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.03484, allocations: 0.7094 MB / 268.7 MB, free: 9.109 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.03485, allocations: 33.7 kB / 268.7 MB, free: 9.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.03497, allocations: 274.8 kB / 269 MB, free: 8.797 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.03501, allocations: 87.25 kB / 269.1 MB, free: 8.711 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.03506, allocations: 45.92 kB / 269.1 MB, free: 8.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.03512, allocations: 321.9 kB / 269.4 MB, free: 8.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.061e-05/0.03516, allocations: 24.22 kB / 269.4 MB, free: 8.316 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.263e-05/0.03523, allocations: 127.5 kB / 269.6 MB, free: 8.152 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.03534, allocations: 164.9 kB / 269.7 MB, free: 7.965 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.03535, allocations: 4 kB / 269.7 MB, free: 7.961 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002018/0.03555, allocations: 242.1 kB / 270 MB, free: 7.715 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.03556, allocations: 7.938 kB / 270 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.03558, allocations: 4 kB / 270 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/0.03575, allocations: 100.7 kB / 270.1 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.873e-05/0.03584, allocations: 52.19 kB / 270.1 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002842/0.03612, allocations: 0.6011 MB / 270.7 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.03623, allocations: 23.84 kB / 270.7 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.03625, allocations: 15.98 kB / 270.8 MB, free: 6.887 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.864e-05/0.03634, allocations: 121.7 kB / 270.9 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.0364, allocations: 71.91 kB / 270.9 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.0367, allocations: 263.5 kB / 271.2 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.03671, allocations: 4 kB / 271.2 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.03671, allocations: 0 / 271.2 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.03671, allocations: 0 / 271.2 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.03696, allocations: 293.9 kB / 271.5 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.03697, allocations: 11.98 kB / 271.5 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/0.03704, allocations: 23.97 kB / 271.5 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.681e-05/0.03711, allocations: 95.25 kB / 271.6 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001312/0.03724, allocations: 96.7 kB / 271.7 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.03725, allocations: 4 kB / 271.7 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002455/0.0375, allocations: 0.5991 MB / 272.3 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.0375, allocations: 4 kB / 272.3 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.03769, allocations: 295.2 kB / 272.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.03772, allocations: 0 / 272.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.434e-05/0.03782, allocations: 11.94 kB / 272.6 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.03785, allocations: 11.88 kB / 272.6 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.03786, allocations: 11.98 kB / 272.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002113/0.03807, allocations: 360.8 kB / 273 MB, free: 4.547 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03807, allocations: 0 / 273 MB, free: 4.547 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002743/0.03834, allocations: 195.7 kB / 273.2 MB, free: 4.355 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.0003387/0.03868, allocations: 328.6 kB / 273.5 MB, free: 4.023 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.03891, allocations: 190.2 kB / 273.7 MB, free: 3.824 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.03892, allocations: 8 kB / 273.7 MB, free: 3.816 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.03903, allocations: 144.5 kB / 273.8 MB, free: 3.664 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/0.03979, allocations: 1.515 MB / 275.4 MB, free: 1.867 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.04206, allocations: 1.147 MB / 276.5 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.903e-05/0.04213, allocations: 146.1 kB / 276.7 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.04229, allocations: 106.7 kB / 276.8 MB, free: 416 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.04245, allocations: 185.3 kB / 276.9 MB, free: 228 kB / 266.7 MB Notification: Performance of SimCode: time 4.2e-07/0.04246, allocations: 3.938 kB / 276.9 MB, free: 224 kB / 266.7 MB Notification: Performance of Templates: time 0.01144/0.05389, allocations: 10.11 MB / 287.1 MB, free: 6.23 MB / 282.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.507470916956663]