Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.001638/0.001638, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.00182/0.00182, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.549/1.549, allocations: 225.6 MB / 250.8 MB, free: 13.41 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.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 51.91 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2574, allocations: 52.14 MB / 420.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.00513/0.2625, allocations: 3.735 MB / 424.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.2649, allocations: 1.441 MB / 426 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.2651, allocations: 8 kB / 426 MB, free: 9.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.2668, allocations: 0.7694 MB / 426.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.2681, allocations: 0.5481 MB / 427.4 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008429/0.2689, allocations: 432.2 kB / 427.8 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004972/0.2694, allocations: 458 kB / 428.2 MB, free: 7.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006627/0.2701, allocations: 371.3 kB / 428.6 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003132/0.2704, allocations: 215.2 kB / 428.8 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.2707, allocations: 278.9 kB / 429.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.075e-05/0.2708, allocations: 44 kB / 429.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003861/0.2712, allocations: 207.8 kB / 429.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.55e-05/0.2712, allocations: 111.6 kB / 429.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.2714, allocations: 234.9 kB / 429.7 MB, free: 6.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008039/0.2722, allocations: 0.6888 MB / 430.3 MB, free: 5.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2722, allocations: 0 / 430.3 MB, free: 5.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2722, allocations: 3.938 kB / 430.4 MB, free: 5.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.2723, allocations: 0 / 430.4 MB, free: 5.625 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002088/0.2743, allocations: 0.9278 MB / 431.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.2744, allocations: 11.89 kB / 431.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003517/0.2779, allocations: 496.2 kB / 431.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.2784, allocations: 313.9 kB / 432.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.2784, allocations: 41.69 kB / 432.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.2785, allocations: 60.31 kB / 432.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009759/0.2795, allocations: 0.5181 MB / 432.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.2795, allocations: 4 kB / 432.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.477e-05/0.2796, allocations: 24 kB / 432.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.2796, allocations: 12 kB / 432.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.2806, allocations: 0.579 MB / 433.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00287/0.2835, allocations: 1.871 MB / 435.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.2856, allocations: 2.124 MB / 437.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004539/0.2861, allocations: 230.1 kB / 437.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.926e-05/0.2862, allocations: 93.52 kB / 437.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.2862, allocations: 42.94 kB / 437.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.974e-06/0.2862, allocations: 0 / 437.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001816/0.288, allocations: 0.7388 MB / 438.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.2881, allocations: 55.84 kB / 438.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.2883, allocations: 186.4 kB / 438.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.2883, allocations: 29.7 kB / 438.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.2884, allocations: 229 kB / 438.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.2886, allocations: 162.6 kB / 439.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.2887, allocations: 90.2 kB / 439.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2889, allocations: 334.8 kB / 439.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.2892, allocations: 153 kB / 439.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.2895, allocations: 242.5 kB / 439.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000753/0.2903, allocations: 420.8 kB / 440.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2903, allocations: 0 / 440.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001053/0.2913, allocations: 0.5317 MB / 440.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2914, allocations: 6.969 kB / 440.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2914, allocations: 4 kB / 440.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003501/0.2917, allocations: 81.02 kB / 440.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.2921, allocations: 99.83 kB / 441 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.2943, allocations: 1.782 MB / 442.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.2946, allocations: 47.66 kB / 442.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.2947, allocations: 20 kB / 442.8 MB, free: 8.238 MB / 350.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 (52): * Single equations (assignments): 51 * 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): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002814/0.295, allocations: 173.7 kB / 443 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.322e-05/0.295, allocations: 27.84 kB / 443 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.2963, allocations: 0.5395 MB / 443.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.2963, allocations: 8 kB / 443.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2963, allocations: 0 / 443.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2963, allocations: 0 / 443.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.2982, allocations: 1.14 MB / 444.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.2982, allocations: 7.938 kB / 444.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.2986, allocations: 75.89 kB / 444.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002838/0.2989, allocations: 84.86 kB / 444.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.2989, allocations: 8 kB / 444.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.3009, allocations: 1.766 MB / 446.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3009, allocations: 4.031 kB / 446.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.3023, allocations: 0.8029 MB / 447.5 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.674e-05/0.3024, allocations: 104.9 kB / 447.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.3025, allocations: 12 kB / 447.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.3027, allocations: 20.05 kB / 447.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/0.3028, allocations: 40.39 kB / 447.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.3028, allocations: 15.92 kB / 447.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001432/0.303, allocations: 140.2 kB / 447.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.303, allocations: 3.938 kB / 447.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005344/0.3035, allocations: 143.7 kB / 447.9 MB, free: 2.867 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (44): * Single equations (assignments): 43 * 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): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002427/0.3037, allocations: 139.2 kB / 448.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.3048, allocations: 0.5425 MB / 448.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3048, allocations: 3.938 kB / 448.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005988/0.3054, allocations: 353.7 kB / 449 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.3058, allocations: 31.98 kB / 449 MB, free: 1.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.3073, allocations: 0.8297 MB / 449.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/0.3078, allocations: 0.8045 MB / 450.6 MB, free: 92 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001932/0.308, allocations: 50.95 kB / 450.7 MB, free: 36 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.938e-05/0.3081, allocations: 31.44 kB / 450.7 MB, free: 4 kB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3081, allocations: 0 / 450.7 MB, free: 4 kB / 350.1 MB Notification: Performance of Templates: time 0.009842/0.318, allocations: 4.529 MB / 455.2 MB, free: 11.48 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.597389413043857]