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.001548/0.001548, allocations: 112 kB / 20.43 MB, free: 1.305 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.001737/0.001737, allocations: 189.2 kB / 23.72 MB, free: 4.551 MB / 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.414/1.414, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.002112/0.002112, allocations: 51.92 kB / 370.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2914, allocations: 52.17 MB / 423.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005626/0.297, allocations: 3.74 MB / 426.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0029/0.2999, allocations: 1.448 MB / 428.3 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.3002, allocations: 12 kB / 428.3 MB, free: 9.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.3021, allocations: 0.7697 MB / 429.1 MB, free: 8.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.3033, allocations: 0.5403 MB / 429.6 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008715/0.3042, allocations: 429.8 kB / 430 MB, free: 7.715 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005332/0.3047, allocations: 466 kB / 430.5 MB, free: 7.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006992/0.3054, allocations: 371.8 kB / 430.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003333/0.3058, allocations: 215.3 kB / 431.1 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.3061, allocations: 278.9 kB / 431.3 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.835e-05/0.3062, allocations: 44 kB / 431.4 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004613/0.3066, allocations: 211.8 kB / 431.6 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.3067, allocations: 103.7 kB / 431.7 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.307, allocations: 234.8 kB / 431.9 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009469/0.3079, allocations: 0.6927 MB / 432.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3079, allocations: 0 / 432.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3079, allocations: 4 kB / 432.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.3079, allocations: 3.938 kB / 432.6 MB, free: 5.125 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.002327/0.3103, allocations: 0.8524 MB / 433.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3103, allocations: 8.031 kB / 433.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00364/0.314, allocations: 0.4884 MB / 434 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005345/0.3145, allocations: 249.9 kB / 434.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/0.3145, allocations: 41.69 kB / 434.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.3146, allocations: 60.27 kB / 434.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.3157, allocations: 0.522 MB / 434.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.3157, allocations: 0 / 434.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.787e-05/0.3158, allocations: 24 kB / 434.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.3158, allocations: 16 kB / 434.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.317, allocations: 0.5712 MB / 435.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004073/0.3211, allocations: 1.723 MB / 437.2 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.323, allocations: 0.5454 MB / 437.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000483/0.3235, allocations: 233.9 kB / 437.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.694e-05/0.3236, allocations: 20.41 kB / 438 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.3236, allocations: 39 kB / 438 MB, free: 15.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.565e-06/0.3236, allocations: 0 / 438 MB, free: 15.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001856/0.3255, allocations: 0.6674 MB / 438.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.3255, allocations: 59.84 kB / 438.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.3257, allocations: 178.3 kB / 438.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.3258, allocations: 37.7 kB / 438.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.3259, allocations: 225 kB / 439.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.3261, allocations: 162.6 kB / 439.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.3262, allocations: 86.14 kB / 439.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3264, allocations: 334.8 kB / 439.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.3267, allocations: 148.9 kB / 439.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.3271, allocations: 237.9 kB / 440.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/0.3278, allocations: 424.8 kB / 440.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3278, allocations: 0 / 440.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001101/0.3289, allocations: 0.5356 MB / 441.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.329, allocations: 7.281 kB / 441.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.329, allocations: 4.281 kB / 441.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003886/0.3293, allocations: 88.77 kB / 441.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.3298, allocations: 95.83 kB / 441.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.3317, allocations: 1.675 MB / 442.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.332, allocations: 51.72 kB / 443 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.332, allocations: 20 kB / 443 MB, free: 10.36 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.000222/0.3323, allocations: 169.7 kB / 443.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.3323, allocations: 23.86 kB / 443.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.3335, allocations: 0.5355 MB / 443.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3335, allocations: 4 kB / 443.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3335, allocations: 4 kB / 443.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3335, allocations: 3.984 kB / 443.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.3353, allocations: 1.108 MB / 444.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.3353, allocations: 7.922 kB / 444.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/0.3356, allocations: 83.97 kB / 444.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002921/0.3359, allocations: 76.8 kB / 445 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.336, allocations: 12 kB / 445 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.3378, allocations: 1.663 MB / 446.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3378, allocations: 8.094 kB / 446.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.3392, allocations: 0.7989 MB / 447.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.3393, allocations: 35.72 kB / 447.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.3393, allocations: 12 kB / 447.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.3396, allocations: 19.98 kB / 447.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.1e-05/0.3397, allocations: 40.36 kB / 447.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.3397, allocations: 15.94 kB / 447.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.3399, allocations: 140.2 kB / 447.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3399, allocations: 64 / 447.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005564/0.3404, allocations: 151.7 kB / 447.9 MB, free: 5.234 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.0002258/0.3406, allocations: 137 kB / 448 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.3418, allocations: 0.5385 MB / 448.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3418, allocations: 0.5625 kB / 448.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006157/0.3424, allocations: 361 kB / 448.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.3428, allocations: 24 kB / 448.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.3443, allocations: 0.8319 MB / 449.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.3448, allocations: 0.8084 MB / 450.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.345, allocations: 50.89 kB / 450.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.693e-05/0.3451, allocations: 31.42 kB / 450.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3451, allocations: 0 / 450.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of Templates: time 0.0104/0.3555, allocations: 4.649 MB / 455.3 MB, free: 13.73 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.5963843408972025]