Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.00175/0.00175, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002227/0.002227, allocations: 209.8 kB / 24.49 MB, free: 4.137 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 8.23 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 47.92 kB / 379 MB, free: 2.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2304, allocations: 53.36 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005386/0.2358, allocations: 3.753 MB / 436.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00273/0.2385, allocations: 1.515 MB / 437.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003334/0.2388, allocations: 8 kB / 437.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.2408, allocations: 0.7489 MB / 438.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.2419, allocations: 409.9 kB / 438.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.2431, allocations: 0.5511 MB / 439.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006773/0.2437, allocations: 466 kB / 439.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007459/0.2445, allocations: 435.3 kB / 440.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004059/0.2449, allocations: 227.1 kB / 440.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003912/0.2453, allocations: 267 kB / 440.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.929e-05/0.2454, allocations: 44 kB / 440.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004796/0.2458, allocations: 219.8 kB / 441 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.735e-05/0.2459, allocations: 107.6 kB / 441.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.2462, allocations: 242.8 kB / 441.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000952/0.2471, allocations: 0.6967 MB / 442 MB, free: 13.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2471, allocations: 4 kB / 442 MB, free: 13.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2471, allocations: 0 / 442 MB, free: 13.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.2471, allocations: 0 / 442 MB, free: 13.28 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.002147/0.2493, allocations: 0.8486 MB / 442.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2493, allocations: 8.031 kB / 442.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003409/0.2527, allocations: 480.1 kB / 443.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/0.2532, allocations: 257.4 kB / 443.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.2533, allocations: 45.69 kB / 443.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.375e-05/0.2534, allocations: 48.38 kB / 443.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.2544, allocations: 0.5298 MB / 444.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.2544, allocations: 4 kB / 444.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/0.2545, allocations: 23.94 kB / 444.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.2545, allocations: 12 kB / 444.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.2556, allocations: 0.5868 MB / 444.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003055/0.2586, allocations: 1.723 MB / 446.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.2601, allocations: 0.5659 MB / 447.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.2606, allocations: 226.1 kB / 447.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.416e-05/0.2606, allocations: 28.34 kB / 447.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.2607, allocations: 35 kB / 447.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.464e-06/0.2607, allocations: 0 / 447.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001787/0.2625, allocations: 0.6675 MB / 448.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.2625, allocations: 55.84 kB / 448.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.2627, allocations: 191 kB / 448.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.2628, allocations: 29.7 kB / 448.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.2629, allocations: 229 kB / 448.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.2631, allocations: 170.5 kB / 448.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.2632, allocations: 82.17 kB / 448.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.2634, allocations: 338.8 kB / 449.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.2637, allocations: 148.9 kB / 449.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.2641, allocations: 245.9 kB / 449.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/0.2648, allocations: 420.8 kB / 450 MB, free: 5.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2648, allocations: 0 / 450 MB, free: 5.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001151/0.266, allocations: 0.5356 MB / 450.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.266, allocations: 4 kB / 450.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.266, allocations: 4 kB / 450.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003799/0.2664, allocations: 85.06 kB / 450.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.2668, allocations: 99.83 kB / 450.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.2688, allocations: 1.666 MB / 452.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.2691, allocations: 51.66 kB / 452.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.2691, allocations: 20.06 kB / 452.4 MB, free: 2.492 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.0002533/0.2694, allocations: 169.7 kB / 452.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.381e-05/0.2695, allocations: 31.8 kB / 452.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.2707, allocations: 0.5278 MB / 453.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.2707, allocations: 4 kB / 453.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.2707, allocations: 12 kB / 453.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.2707, allocations: 3.984 kB / 453.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.2726, allocations: 1.104 MB / 454.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.2726, allocations: 12 kB / 454.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.273, allocations: 83.83 kB / 454.4 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002834/0.2733, allocations: 76.81 kB / 454.4 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.2733, allocations: 15.92 kB / 454.5 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.2752, allocations: 1.67 MB / 456.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2752, allocations: 0 / 456.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.2768, allocations: 0.8029 MB / 456.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.932e-05/0.2769, allocations: 27.8 kB / 457 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.2769, allocations: 15.98 kB / 457 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.2772, allocations: 12 kB / 457 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.493e-05/0.2773, allocations: 40.36 kB / 457 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.2773, allocations: 15.94 kB / 457 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.2775, allocations: 147.2 kB / 457.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2775, allocations: 0 / 457.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005831/0.278, allocations: 147.7 kB / 457.3 MB, free: 13.37 MB / 366.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.0002661/0.2783, allocations: 143.2 kB / 457.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.2795, allocations: 0.5428 MB / 458 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2795, allocations: 4.188 kB / 458 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000612/0.2801, allocations: 357 kB / 458.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.2805, allocations: 35.89 kB / 458.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.282, allocations: 0.8658 MB / 459.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/0.2826, allocations: 0.8045 MB / 460.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.2827, allocations: 43.42 kB / 460.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2827, allocations: 0 / 460.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of Templates: time 0.01079/0.2935, allocations: 6.557 MB / 466.7 MB, free: 3.93 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.126117258099839]