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.001717/0.001717, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 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.002127/0.002127, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 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 1.436/1.436, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001589/0.001589, allocations: 51.86 kB / 371.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2313, allocations: 52.18 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006416/0.2377, allocations: 5.327 MB / 429.2 MB, free: 9.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.2484, allocations: 9.107 MB / 438.3 MB, free: 168 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005484/0.249, allocations: 63.31 kB / 438.4 MB, free: 104 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008959/0.2499, allocations: 398.9 kB / 438.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.2521, allocations: 0.8381 MB / 439.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.2537, allocations: 0.5987 MB / 440.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002621/0.2563, allocations: 1.701 MB / 441.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.2566, allocations: 107.4 kB / 442 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004153/0.257, allocations: 318.5 kB / 442.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004331/0.2574, allocations: 330 kB / 442.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.445e-05/0.2575, allocations: 28 kB / 442.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.2589, allocations: 0.6438 MB / 443.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.687e-05/0.259, allocations: 103.3 kB / 443.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003723/0.2593, allocations: 413.5 kB / 443.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.2609, allocations: 1.202 MB / 445 MB, free: 9.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2609, allocations: 0 / 445 MB, free: 9.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2609, allocations: 0 / 445 MB, free: 9.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.2609, allocations: 4 kB / 445 MB, free: 9.41 MB / 350.1 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.001958/0.2629, allocations: 1.238 MB / 446.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2629, allocations: 8.031 kB / 446.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.2631, allocations: 116.2 kB / 446.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.2644, allocations: 0.7849 MB / 447.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.2644, allocations: 20.5 kB / 447.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.2644, allocations: 27.98 kB / 447.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/0.265, allocations: 307.8 kB / 447.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.265, allocations: 0 / 447.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.265, allocations: 12 kB / 447.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.265, allocations: 4 kB / 447.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.2654, allocations: 238 kB / 447.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.2672, allocations: 1.16 MB / 448.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.2676, allocations: 170.7 kB / 449.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.2679, allocations: 189.3 kB / 449.3 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006734/0.2747, allocations: 3.115 MB / 452.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.2747, allocations: 34.56 kB / 452.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.563e-06/0.2747, allocations: 0 / 452.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001595/0.2763, allocations: 0.5871 MB / 453 MB, free: 1.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.2763, allocations: 77.11 kB / 453.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009282/0.2773, allocations: 0.8064 MB / 453.9 MB, free: 288 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.2773, allocations: 29.7 kB / 453.9 MB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000386/0.2777, allocations: 449 kB / 454.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.711e-05/0.2778, allocations: 75.33 kB / 454.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.193e-05/0.2778, allocations: 57.89 kB / 454.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.278, allocations: 321.9 kB / 454.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.2781, allocations: 68.2 kB / 454.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.2783, allocations: 147 kB / 455 MB, free: 15.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.2787, allocations: 228.4 kB / 455.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2787, allocations: 0 / 455.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006293/0.2793, allocations: 412.3 kB / 455.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2793, allocations: 8 kB / 455.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/0.2794, allocations: 19.94 kB / 455.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003483/0.2797, allocations: 145 kB / 455.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.2799, allocations: 31.98 kB / 455.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006635/0.2805, allocations: 0.7082 MB / 456.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.2808, allocations: 27.78 kB / 456.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.2808, allocations: 16.06 kB / 456.6 MB, free: 13.46 MB / 366.1 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.0002398/0.2811, allocations: 197.8 kB / 456.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.2812, allocations: 107.3 kB / 456.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007662/0.2819, allocations: 403.5 kB / 457.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.2819, allocations: 4 kB / 457.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.282, allocations: 0 / 457.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.282, allocations: 0 / 457.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006106/0.2826, allocations: 490.5 kB / 457.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-05/0.2826, allocations: 12 kB / 457.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.2827, allocations: 15.98 kB / 457.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002897/0.283, allocations: 151.6 kB / 457.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.283, allocations: 11.94 kB / 457.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006435/0.2837, allocations: 0.6968 MB / 458.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2837, allocations: 0 / 458.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005863/0.2843, allocations: 451.1 kB / 459.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.2845, allocations: 103.2 kB / 459.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-05/0.2845, allocations: 8 kB / 459.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.2847, allocations: 0 / 459.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.2848, allocations: 19.97 kB / 459.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.2848, allocations: 11.94 kB / 459.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006663/0.2855, allocations: 0.5462 MB / 459.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2855, allocations: 0 / 459.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005905/0.2861, allocations: 199.6 kB / 460 MB, free: 9.969 MB / 366.1 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.0005064/0.2866, allocations: 295.3 kB / 460.3 MB, free: 9.672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005893/0.2872, allocations: 270.1 kB / 460.5 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2872, allocations: 4 kB / 460.5 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.2875, allocations: 171.3 kB / 460.7 MB, free: 9.215 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007222/0.2882, allocations: 156.3 kB / 460.8 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.2901, allocations: 1.276 MB / 462.1 MB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.2907, allocations: 0.9413 MB / 463.1 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.848e-05/0.2908, allocations: 51.38 kB / 463.1 MB, free: 6.723 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2908, allocations: 3.938 kB / 463.1 MB, free: 6.719 MB / 366.1 MB Notification: Performance of Templates: time 0.01942/0.3102, allocations: 14.44 MB / 477.6 MB, free: 8.301 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.083448689896613]