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.001833/0.001833, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.002163/0.002163, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.476/1.476, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.001869/0.001869, allocations: 47.92 kB / 371.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2472, allocations: 52.19 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005562/0.2528, allocations: 3.736 MB / 427.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.2555, allocations: 1.445 MB / 429.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000342/0.2559, allocations: 8 kB / 429.1 MB, free: 9.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.2579, allocations: 0.77 MB / 429.8 MB, free: 8.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.2593, allocations: 0.5472 MB / 430.4 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009564/0.2602, allocations: 422.8 kB / 430.8 MB, free: 7.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006938/0.2609, allocations: 466 kB / 431.3 MB, free: 7.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008003/0.2617, allocations: 443.4 kB / 431.7 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004137/0.2621, allocations: 219.2 kB / 431.9 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.2626, allocations: 266.9 kB / 432.2 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.845e-05/0.2627, allocations: 44 kB / 432.2 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000491/0.2631, allocations: 211.8 kB / 432.4 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.2633, allocations: 111.6 kB / 432.5 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.2635, allocations: 234.8 kB / 432.8 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000988/0.2645, allocations: 0.6927 MB / 433.4 MB, free: 5.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2645, allocations: 0 / 433.4 MB, free: 5.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2645, allocations: 3.938 kB / 433.5 MB, free: 5.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.2645, allocations: 0 / 433.5 MB, free: 5.066 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.002293/0.2668, allocations: 0.8525 MB / 434.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2669, allocations: 12.03 kB / 434.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003384/0.2702, allocations: 492.2 kB / 434.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005531/0.2708, allocations: 253.9 kB / 435 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.604e-05/0.2708, allocations: 37.69 kB / 435.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.271, allocations: 60.33 kB / 435.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.272, allocations: 0.522 MB / 435.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.272, allocations: 4 kB / 435.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.2721, allocations: 20 kB / 435.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.2721, allocations: 12 kB / 435.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.2732, allocations: 0.5829 MB / 436.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/0.2763, allocations: 1.715 MB / 438 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.2778, allocations: 0.55 MB / 438.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004702/0.2782, allocations: 226.1 kB / 438.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.531e-05/0.2783, allocations: 12.42 kB / 438.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.2783, allocations: 43 kB / 438.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.954e-06/0.2783, allocations: 0 / 438.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001747/0.2801, allocations: 0.6635 MB / 439.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.2801, allocations: 55.84 kB / 439.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.2803, allocations: 186.3 kB / 439.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.2804, allocations: 33.7 kB / 439.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.2805, allocations: 229 kB / 440 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.2807, allocations: 158.6 kB / 440.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.2808, allocations: 86.14 kB / 440.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2809, allocations: 330.8 kB / 440.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.2813, allocations: 160.9 kB / 440.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/0.2817, allocations: 241.9 kB / 440.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006888/0.2823, allocations: 420.8 kB / 441.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2823, allocations: 3.938 kB / 441.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001061/0.2834, allocations: 0.5319 MB / 441.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2834, allocations: 8 kB / 441.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2834, allocations: 4 kB / 441.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/0.2838, allocations: 84.73 kB / 442 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.2842, allocations: 91.89 kB / 442.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.2861, allocations: 1.679 MB / 443.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.2864, allocations: 47.66 kB / 443.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.2864, allocations: 16 kB / 443.8 MB, free: 10.31 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.000225/0.2866, allocations: 169.7 kB / 444 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/0.2867, allocations: 31.8 kB / 444 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.2878, allocations: 0.5278 MB / 444.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.2879, allocations: 12 kB / 444.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2879, allocations: 0 / 444.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.2879, allocations: 3.984 kB / 444.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.2897, allocations: 1.108 MB / 445.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.2897, allocations: 7.938 kB / 445.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.2901, allocations: 83.83 kB / 445.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000279/0.2903, allocations: 80.78 kB / 445.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.2904, allocations: 12 kB / 445.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.2922, allocations: 1.663 MB / 447.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2922, allocations: 4.031 kB / 447.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.2935, allocations: 0.7952 MB / 448.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/0.2936, allocations: 35.72 kB / 448.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.2937, allocations: 8 kB / 448.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.2939, allocations: 19.98 kB / 448.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.294, allocations: 44.3 kB / 448.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/0.294, allocations: 15.94 kB / 448.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.2942, allocations: 140.3 kB / 448.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2942, allocations: 0 / 448.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005643/0.2948, allocations: 151.7 kB / 448.7 MB, free: 5.188 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.0002296/0.295, allocations: 135.2 kB / 448.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.2961, allocations: 0.5428 MB / 449.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2961, allocations: 4 kB / 449.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005826/0.2967, allocations: 349 kB / 449.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.297, allocations: 32.39 kB / 449.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.2986, allocations: 0.8689 MB / 450.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.2991, allocations: 0.8006 MB / 451.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.2992, allocations: 39.42 kB / 451.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2992, allocations: 0 / 451.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of Templates: time 0.0105/0.3097, allocations: 6.359 MB / 457.8 MB, free: 11.98 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/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: 7.5012228668201715]