Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001751/0.001751, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002187/0.002187, allocations: 215.5 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 68.08 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2348, allocations: 53.41 MB / 431.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005647/0.2405, allocations: 3.398 MB / 435 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003268/0.2438, allocations: 1.394 MB / 436.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004447/0.2442, allocations: 8 kB / 436.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.2463, allocations: 0.6961 MB / 437.1 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.2475, allocations: 393.6 kB / 437.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.2486, allocations: 0.5248 MB / 438 MB, free: 104 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006847/0.2493, allocations: 458 kB / 438.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006289/0.25, allocations: 354 kB / 438.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004/0.2504, allocations: 207.3 kB / 439 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003811/0.2507, allocations: 239 kB / 439.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.36e-05/0.2508, allocations: 40 kB / 439.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005405/0.2514, allocations: 207.8 kB / 439.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.2515, allocations: 107.6 kB / 439.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.2517, allocations: 195 kB / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009822/0.2527, allocations: 0.6797 MB / 440.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.2527, allocations: 7.984 kB / 440.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2527, allocations: 0 / 440.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.2527, allocations: 0 / 440.5 MB, free: 13.64 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.002231/0.2549, allocations: 0.8512 MB / 441.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2549, allocations: 11.98 kB / 441.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003545/0.2585, allocations: 472.1 kB / 441.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.259, allocations: 252.8 kB / 442.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.259, allocations: 41.69 kB / 442.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.803e-05/0.2591, allocations: 48.38 kB / 442.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.2602, allocations: 0.5432 MB / 442.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.2602, allocations: 0 / 442.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.2603, allocations: 24 kB / 442.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.2603, allocations: 12 kB / 442.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.2614, allocations: 0.5634 MB / 443.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002931/0.2643, allocations: 1.507 MB / 444.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.266, allocations: 0.5663 MB / 445.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.2664, allocations: 182.1 kB / 445.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.414e-05/0.2665, allocations: 20.42 kB / 445.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.2665, allocations: 39 kB / 445.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.014e-06/0.2665, allocations: 3.938 kB / 445.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002037/0.2686, allocations: 0.7065 MB / 446.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.2686, allocations: 59.84 kB / 446.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.2688, allocations: 174.7 kB / 446.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.2689, allocations: 33.7 kB / 446.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.2691, allocations: 228.9 kB / 446.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.2692, allocations: 170.5 kB / 447 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.2694, allocations: 90.12 kB / 447.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002404/0.2696, allocations: 338.8 kB / 447.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.2699, allocations: 148.9 kB / 447.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.2703, allocations: 228.1 kB / 447.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007363/0.2711, allocations: 399.5 kB / 448.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2711, allocations: 0 / 448.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001113/0.2722, allocations: 0.5358 MB / 448.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2722, allocations: 8 kB / 448.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2722, allocations: 0 / 448.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003594/0.2726, allocations: 92.73 kB / 448.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.273, allocations: 95.89 kB / 448.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.2752, allocations: 1.899 MB / 450.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.2755, allocations: 39.8 kB / 450.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.2755, allocations: 27.98 kB / 450.8 MB, free: 2.922 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.0002243/0.2757, allocations: 169.7 kB / 451 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.2758, allocations: 23.81 kB / 451 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.277, allocations: 0.5349 MB / 451.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.277, allocations: 12.17 kB / 451.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.277, allocations: 0 / 451.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.277, allocations: 11.92 kB / 451.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.2788, allocations: 0.9668 MB / 452.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2788, allocations: 0 / 452.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.2791, allocations: 75.89 kB / 452.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002913/0.2794, allocations: 88.8 kB / 452.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.2794, allocations: 12 kB / 452.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.2815, allocations: 1.888 MB / 454.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2815, allocations: 0 / 454.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.283, allocations: 0.7894 MB / 455.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.2831, allocations: 35.7 kB / 455.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.2831, allocations: 20.12 kB / 455.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.2833, allocations: 19.98 kB / 455.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.2834, allocations: 36.31 kB / 455.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.2834, allocations: 19.98 kB / 455.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.2836, allocations: 119.2 kB / 455.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2836, allocations: 0 / 455.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005943/0.2842, allocations: 151.7 kB / 455.8 MB, free: 13.78 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.0002623/0.2844, allocations: 147 kB / 455.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.2855, allocations: 0.5386 MB / 456.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2855, allocations: 192 / 456.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006152/0.2861, allocations: 353.4 kB / 456.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.2864, allocations: 35.92 kB / 456.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.2879, allocations: 0.8099 MB / 457.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.2881, allocations: 204.8 kB / 457.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.2883, allocations: 46.95 kB / 457.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.972e-05/0.2883, allocations: 31.44 kB / 457.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2883, allocations: 0 / 457.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of Templates: time 0.01052/0.2989, allocations: 4.727 MB / 462.7 MB, free: 6.859 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.587300160899758]