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.002074/0.002074, allocations: 103.6 kB / 20.43 MB, free: 1.211 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.001468/0.001468, allocations: 184.7 kB / 23.71 MB, free: 4.434 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.445/1.445, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.001526/0.001526, allocations: 51.92 kB / 370.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2453, allocations: 52.17 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005153/0.2504, allocations: 3.389 MB / 426.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.2528, allocations: 1.342 MB / 427.8 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.253, allocations: 8 kB / 427.8 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.2547, allocations: 0.6962 MB / 428.5 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.2558, allocations: 0.5244 MB / 429 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008371/0.2567, allocations: 406.2 kB / 429.4 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005092/0.2572, allocations: 466 kB / 429.9 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006766/0.2579, allocations: 413.9 kB / 430.3 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.2582, allocations: 223.2 kB / 430.5 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.2585, allocations: 239 kB / 430.7 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.572e-05/0.2586, allocations: 44 kB / 430.8 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/0.2589, allocations: 199.9 kB / 431 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.259, allocations: 107.6 kB / 431.1 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.2592, allocations: 203 kB / 431.3 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008381/0.2601, allocations: 0.6927 MB / 432 MB, free: 5.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2601, allocations: 0 / 432 MB, free: 5.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2601, allocations: 3.938 kB / 432 MB, free: 5.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.2601, allocations: 0 / 432 MB, free: 5.52 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.002156/0.2622, allocations: 0.8486 MB / 432.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2623, allocations: 15.97 kB / 432.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003548/0.2658, allocations: 492.2 kB / 433.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/0.2663, allocations: 257.8 kB / 433.6 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/0.2664, allocations: 37.69 kB / 433.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-05/0.2665, allocations: 52.38 kB / 433.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.2675, allocations: 0.5549 MB / 434.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.2675, allocations: 4 kB / 434.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/0.2676, allocations: 20 kB / 434.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.2676, allocations: 19.98 kB / 434.3 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.2687, allocations: 0.5634 MB / 434.8 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.2716, allocations: 1.494 MB / 436.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.2731, allocations: 0.5422 MB / 436.9 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.2736, allocations: 232.2 kB / 437.1 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-05/0.2736, allocations: 12.42 kB / 437.1 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.2737, allocations: 39 kB / 437.1 MB, free: 232 kB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.104e-06/0.2737, allocations: 0 / 437.1 MB, free: 232 kB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.001788/0.2754, allocations: 0.6713 MB / 437.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.2755, allocations: 55.84 kB / 437.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.2757, allocations: 170.2 kB / 438 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.2757, allocations: 29.7 kB / 438 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.2759, allocations: 232.9 kB / 438.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.276, allocations: 166.5 kB / 438.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.2761, allocations: 86.17 kB / 438.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2763, allocations: 334.8 kB / 438.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.2766, allocations: 156.9 kB / 439 MB, free: 14.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.277, allocations: 233.9 kB / 439.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007511/0.2778, allocations: 424.8 kB / 439.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.2778, allocations: 0 / 439.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001084/0.2788, allocations: 0.5319 MB / 440.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2789, allocations: 4 kB / 440.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.2789, allocations: 4 kB / 440.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003566/0.2792, allocations: 80.8 kB / 440.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.2796, allocations: 91.89 kB / 440.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.2816, allocations: 1.645 MB / 442 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.2819, allocations: 51.61 kB / 442.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.2819, allocations: 19.98 kB / 442.1 MB, free: 11.04 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.0002141/0.2822, allocations: 169.8 kB / 442.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.2822, allocations: 23.86 kB / 442.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.2834, allocations: 0.5348 MB / 442.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.2834, allocations: 8 kB / 442.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2834, allocations: 0 / 442.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2834, allocations: 3.984 kB / 442.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.2852, allocations: 0.976 MB / 443.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2853, allocations: 0 / 443.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.2856, allocations: 79.89 kB / 443.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002781/0.2859, allocations: 76.8 kB / 443.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.2859, allocations: 12 kB / 443.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.2879, allocations: 1.632 MB / 445.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.2879, allocations: 8.016 kB / 445.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.2894, allocations: 0.7952 MB / 446.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.047e-05/0.2895, allocations: 35.69 kB / 446.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.2895, allocations: 12 kB / 446.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.2898, allocations: 23.94 kB / 446.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/0.2898, allocations: 36.36 kB / 446.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.2899, allocations: 12 kB / 446.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.29, allocations: 128.1 kB / 446.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.29, allocations: 64 / 446.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005828/0.2906, allocations: 159.6 kB / 446.8 MB, free: 6.133 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.0002557/0.2908, allocations: 135.1 kB / 446.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.292, allocations: 0.5307 MB / 447.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.292, allocations: 0.5625 kB / 447.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006818/0.2927, allocations: 369 kB / 447.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.293, allocations: 27.94 kB / 447.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.2946, allocations: 0.8195 MB / 448.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.2948, allocations: 208.7 kB / 448.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002018/0.295, allocations: 50.95 kB / 448.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.545e-05/0.2951, allocations: 35.42 kB / 448.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2951, allocations: 0 / 448.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of Templates: time 0.01066/0.3058, allocations: 4.54 MB / 453.5 MB, free: 15.38 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.632317336276174]