Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.001777/0.001777, allocations: 119.5 kB / 18.5 MB, free: 4.551 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.002134/0.002134, allocations: 205.7 kB / 21.45 MB, free: 1.605 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.462/1.462, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 63.88 kB / 373.8 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1051, allocations: 53.33 MB / 427.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005522/0.1106, allocations: 3.727 MB / 430.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1943/0.3049, allocations: 1.492 MB / 432.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002128/0.3051, allocations: 12.56 kB / 432.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.3067, allocations: 0.7573 MB / 433.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008034/0.3075, allocations: 394.3 kB / 433.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000876/0.3084, allocations: 0.5549 MB / 434.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.3088, allocations: 465.5 kB / 434.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005451/0.3093, allocations: 366 kB / 434.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.3096, allocations: 231.7 kB / 435.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.3099, allocations: 275.3 kB / 435.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.351e-05/0.3099, allocations: 44.66 kB / 435.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003651/0.3103, allocations: 209.5 kB / 435.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.594e-05/0.3104, allocations: 109.8 kB / 435.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.3106, allocations: 238.7 kB / 436 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008309/0.3114, allocations: 0.6996 MB / 436.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3114, allocations: 1.188 kB / 436.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3114, allocations: 2.438 kB / 436.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.445e-06/0.3114, allocations: 0 / 436.7 MB, free: 7.48 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.002004/0.3134, allocations: 0.9267 MB / 437.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3134, allocations: 9.703 kB / 437.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003549/0.317, allocations: 477.1 kB / 438.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.3174, allocations: 307.4 kB / 438.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.3174, allocations: 43.5 kB / 438.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-05/0.3175, allocations: 51.53 kB / 438.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009479/0.3184, allocations: 0.5308 MB / 439 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.3185, allocations: 12.44 kB / 439 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.183e-05/0.3185, allocations: 20.89 kB / 439 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.3185, allocations: 17.28 kB / 439.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.3196, allocations: 0.5765 MB / 439.6 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002669/0.3222, allocations: 1.961 MB / 441.6 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.3239, allocations: 2.124 MB / 443.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/0.3244, allocations: 230.4 kB / 443.9 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.3245, allocations: 177.3 kB / 444.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.3245, allocations: 42.41 kB / 444.2 MB, free: 2.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.803e-06/0.3245, allocations: 0 / 444.2 MB, free: 2.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001703/0.3262, allocations: 0.7379 MB / 444.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.3262, allocations: 61.19 kB / 445 MB, free: 1.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.3264, allocations: 184.2 kB / 445.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.3264, allocations: 34.83 kB / 445.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.3265, allocations: 227.2 kB / 445.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.483e-05/0.3266, allocations: 173.1 kB / 445.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.3267, allocations: 85.81 kB / 445.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.3268, allocations: 335.9 kB / 446 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.3271, allocations: 149.6 kB / 446.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.3274, allocations: 240 kB / 446.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006153/0.328, allocations: 424.6 kB / 446.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.328, allocations: 1.062 kB / 446.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009728/0.329, allocations: 0.5398 MB / 447.3 MB, free: 340 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.329, allocations: 10.16 kB / 447.3 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.329, allocations: 2.312 kB / 447.3 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003508/0.3294, allocations: 77.05 kB / 447.4 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.3297, allocations: 96.5 kB / 447.5 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.3316, allocations: 1.778 MB / 449.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.3319, allocations: 47.27 kB / 449.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.332, allocations: 19.7 kB / 449.3 MB, free: 14.67 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 (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.0002019/0.3322, allocations: 165.7 kB / 449.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/0.3322, allocations: 30.42 kB / 449.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.3334, allocations: 0.5344 MB / 450.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.3335, allocations: 5.25 kB / 450.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3335, allocations: 3.703 kB / 450.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.3335, allocations: 4.312 kB / 450.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.3357, allocations: 1.141 MB / 451.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.3357, allocations: 8.969 kB / 451.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/0.3361, allocations: 79.89 kB / 451.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002797/0.3364, allocations: 78.59 kB / 451.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/0.3364, allocations: 16.95 kB / 451.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.3383, allocations: 1.767 MB / 453.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3383, allocations: 0 / 453.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.3398, allocations: 0.8097 MB / 454 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.804e-05/0.3399, allocations: 111.2 kB / 454.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.3399, allocations: 7.844 kB / 454.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.3402, allocations: 20.34 kB / 454.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.103e-05/0.3403, allocations: 38.14 kB / 454.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.3403, allocations: 20.34 kB / 454.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.3404, allocations: 134.1 kB / 454.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3404, allocations: 0 / 454.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005758/0.341, allocations: 152.3 kB / 454.4 MB, free: 11.24 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.0002612/0.3413, allocations: 146.5 kB / 454.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.3424, allocations: 0.5441 MB / 455.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3424, allocations: 1.375 kB / 455.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006422/0.3431, allocations: 356.6 kB / 455.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.3434, allocations: 36.83 kB / 455.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.345, allocations: 0.8199 MB / 456.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.3455, allocations: 0.8047 MB / 457.1 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001875/0.3457, allocations: 48.14 kB / 457.2 MB, free: 9.445 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.3458, allocations: 35.73 kB / 457.2 MB, free: 9.434 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3458, allocations: 0 / 457.2 MB, free: 9.434 MB / 366.1 MB Notification: Performance of Templates: time 0.01021/0.356, allocations: 4.496 MB / 461.7 MB, free: 8.199 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.608945685438812]