Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.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.001264/0.001264, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001345/0.001345, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.359/1.359, allocations: 230.6 MB / 258.3 MB, free: 8 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 47.91 kB / 378.6 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.267, allocations: 53.37 MB / 431.9 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.00419/0.2712, allocations: 2.935 MB / 434.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.2724, allocations: 0.7205 MB / 435.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.2726, allocations: 7.938 kB / 435.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.2727, allocations: 59.44 kB / 435.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.2729, allocations: 79.2 kB / 435.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.2732, allocations: 107.7 kB / 435.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003981/0.2736, allocations: 374.9 kB / 436.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.2738, allocations: 130 kB / 436.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.2741, allocations: 151.5 kB / 436.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.2743, allocations: 163.2 kB / 436.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.2743, allocations: 32 kB / 436.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.289e-05/0.2744, allocations: 36 kB / 436.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.062e-05/0.2744, allocations: 71.75 kB / 436.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.2746, allocations: 175.2 kB / 437 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.275, allocations: 390.1 kB / 437.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.275, allocations: 3.938 kB / 437.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.275, allocations: 0 / 437.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.275, allocations: 0 / 437.3 MB, free: 1.391 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009174/0.2759, allocations: 0.5443 MB / 437.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.276, allocations: 12.03 kB / 437.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.251e-05/0.276, allocations: 8.844 kB / 437.9 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.402e-05/0.2761, allocations: 66.72 kB / 438 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.541e-05/0.2761, allocations: 40.7 kB / 438 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.2765, allocations: 210.6 kB / 438.2 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.2765, allocations: 29.03 kB / 438.2 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/0.2765, allocations: 32.38 kB / 438.3 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/0.277, allocations: 282 kB / 438.5 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.277, allocations: 0 / 438.5 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.2771, allocations: 12 kB / 438.6 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.2771, allocations: 11.98 kB / 438.6 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004661/0.2775, allocations: 214.5 kB / 438.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.2791, allocations: 0.9799 MB / 439.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.2794, allocations: 158.4 kB / 439.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.2796, allocations: 130.9 kB / 440 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.2797, allocations: 3.953 kB / 440 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.2797, allocations: 38.56 kB / 440.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.313e-06/0.2797, allocations: 0 / 440.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005522/0.2803, allocations: 221.4 kB / 440.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.2803, allocations: 55.34 kB / 440.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.2805, allocations: 223.1 kB / 440.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.2805, allocations: 25.7 kB / 440.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.2807, allocations: 196.4 kB / 440.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.846e-05/0.2807, allocations: 83.33 kB / 440.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-05/0.2808, allocations: 45.98 kB / 440.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2809, allocations: 334.8 kB / 441.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.2811, allocations: 60.53 kB / 441.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.2813, allocations: 155.3 kB / 441.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.2817, allocations: 225.1 kB / 441.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2817, allocations: 0 / 441.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004975/0.2822, allocations: 281.1 kB / 441.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2822, allocations: 4 kB / 442 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.2822, allocations: 7.984 kB / 442 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2823, allocations: 4 kB / 442 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.2825, allocations: 71.91 kB / 442 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.2825, allocations: 8.188 kB / 442 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.2827, allocations: 35.77 kB / 442.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.2827, allocations: 8 kB / 442.1 MB, free: 12.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.2829, allocations: 150.4 kB / 442.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.2829, allocations: 19.86 kB / 442.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004119/0.2833, allocations: 191.3 kB / 442.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.2833, allocations: 7.984 kB / 442.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2833, allocations: 4 kB / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2833, allocations: 0 / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008257/0.2841, allocations: 0.577 MB / 443 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2841, allocations: 0 / 443 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.2844, allocations: 51.97 kB / 443.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2844, allocations: 64 / 443.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.2844, allocations: 15.98 kB / 443.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2844, allocations: 0 / 443.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2844, allocations: 0 / 443.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005965/0.285, allocations: 381.6 kB / 443.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.2851, allocations: 23.8 kB / 443.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.2851, allocations: 11.98 kB / 443.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.2853, allocations: 15.98 kB / 443.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.2853, allocations: 15.92 kB / 443.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.2853, allocations: 7.984 kB / 443.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.2855, allocations: 160.6 kB / 443.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2855, allocations: 0 / 443.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.2858, allocations: 83.78 kB / 443.8 MB, free: 10.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008939/0.2867, allocations: 0.9251 MB / 444.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003907/0.2871, allocations: 157.5 kB / 444.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2871, allocations: 0 / 444.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.2873, allocations: 84.45 kB / 444.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.2876, allocations: 40.84 kB / 445 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003587/0.2912, allocations: 2.806 MB / 447.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.2916, allocations: 0.7675 MB / 448.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.682e-05/0.2917, allocations: 29.92 kB / 448.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.2918, allocations: 91.41 kB / 448.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2918, allocations: 0 / 448.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.3206, allocations: 4.954 MB / 453.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.1, allocations: 6.469 kB / 453.6 MB, free: 0.6797 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.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: 13.855955692997668]