Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001571/0.001571, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.001775/0.001775, allocations: 214.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 258.2 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 43.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2378, allocations: 53.38 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004957/0.2428, allocations: 3.401 MB / 435.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002493/0.2453, allocations: 1.398 MB / 437.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.2454, allocations: 8 kB / 437.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.2472, allocations: 0.6923 MB / 437.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000921/0.2481, allocations: 390 kB / 438.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.2492, allocations: 0.5167 MB / 438.7 MB, free: 308 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005247/0.2497, allocations: 450.1 kB / 439.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006005/0.2503, allocations: 362.1 kB / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003332/0.2507, allocations: 219.1 kB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.251, allocations: 267 kB / 440 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.866e-05/0.2511, allocations: 44 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003969/0.2515, allocations: 211.8 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.2516, allocations: 107.6 kB / 440.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.2518, allocations: 179.2 kB / 440.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000823/0.2526, allocations: 0.6995 MB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2526, allocations: 0 / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2526, allocations: 0 / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.2526, allocations: 0 / 441.2 MB, free: 13.79 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00214/0.2547, allocations: 0.8407 MB / 442.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2548, allocations: 12.03 kB / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003622/0.2584, allocations: 476.1 kB / 442.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.2589, allocations: 248.8 kB / 442.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.2589, allocations: 41.69 kB / 442.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.259, allocations: 60.25 kB / 442.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.26, allocations: 0.5393 MB / 443.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.2601, allocations: 7.938 kB / 443.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.832e-05/0.2601, allocations: 28 kB / 443.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.2601, allocations: 12 kB / 443.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.2612, allocations: 0.5595 MB / 444 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002852/0.2641, allocations: 1.504 MB / 445.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.2656, allocations: 0.5633 MB / 446.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.266, allocations: 190 kB / 446.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.611e-05/0.2661, allocations: 24.41 kB / 446.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.2661, allocations: 39 kB / 446.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.385e-06/0.2661, allocations: 0 / 446.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002023/0.2681, allocations: 0.7142 MB / 447.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.2682, allocations: 55.84 kB / 447.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.2684, allocations: 174.1 kB / 447.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.2684, allocations: 33.7 kB / 447.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.2686, allocations: 221 kB / 447.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.2687, allocations: 170.5 kB / 447.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.2689, allocations: 86.14 kB / 447.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.269, allocations: 338.8 kB / 448.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.2693, allocations: 148.9 kB / 448.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.2697, allocations: 232.2 kB / 448.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006855/0.2704, allocations: 399.5 kB / 448.9 MB, free: 5.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2704, allocations: 4 kB / 448.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001082/0.2715, allocations: 0.5278 MB / 449.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2715, allocations: 7.984 kB / 449.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2715, allocations: 4.219 kB / 449.4 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000364/0.2719, allocations: 88.75 kB / 449.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/0.2723, allocations: 95.88 kB / 449.6 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.2744, allocations: 1.891 MB / 451.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.2747, allocations: 43.72 kB / 451.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.2747, allocations: 20 kB / 451.6 MB, free: 3.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002192/0.2749, allocations: 169.7 kB / 451.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.275, allocations: 27.81 kB / 451.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.2762, allocations: 0.5466 MB / 452.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.2762, allocations: 7.984 kB / 452.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.2762, allocations: 0 / 452.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2762, allocations: 0 / 452.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.2778, allocations: 0.9785 MB / 453.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2778, allocations: 0 / 453.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.2782, allocations: 67.91 kB / 453.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003022/0.2785, allocations: 92.73 kB / 453.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.2785, allocations: 12 kB / 453.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.2805, allocations: 1.896 MB / 455.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2805, allocations: 0 / 455.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.2819, allocations: 0.7972 MB / 456.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.2819, allocations: 39.7 kB / 456.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.282, allocations: 4 kB / 456.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.2822, allocations: 19.98 kB / 456.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.2823, allocations: 40.3 kB / 456.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.2823, allocations: 16 kB / 456.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.2824, allocations: 124.1 kB / 456.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2824, allocations: 4.062 kB / 456.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005906/0.283, allocations: 147.7 kB / 456.5 MB, free: 13.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (42): * Single equations (assignments): 41 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002268/0.2833, allocations: 139.1 kB / 456.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.2843, allocations: 0.5424 MB / 457.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2843, allocations: 448 / 457.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005584/0.2849, allocations: 361 kB / 457.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.2852, allocations: 28 kB / 457.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.2866, allocations: 0.8475 MB / 458.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.2868, allocations: 204.7 kB / 458.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.2869, allocations: 43.42 kB / 458.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2869, allocations: 0 / 458.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Templates: time 0.009354/0.2962, allocations: 6.616 MB / 465.3 MB, free: 5.078 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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: 7.426662197976839]