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.001739/0.001739, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002206/0.002206, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.389/1.389, allocations: 230.6 MB / 257.5 MB, free: 8.008 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 47.92 kB / 377.8 MB, free: 3.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.263, allocations: 53.36 MB / 431.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.00415/0.2672, allocations: 2.929 MB / 434.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.2684, allocations: 0.7282 MB / 434.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.2686, allocations: 11.94 kB / 434.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.2688, allocations: 59.44 kB / 434.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.2689, allocations: 87.19 kB / 435 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.2692, allocations: 91.81 kB / 435.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004214/0.2696, allocations: 374.9 kB / 435.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.2699, allocations: 132.8 kB / 435.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.2701, allocations: 151.6 kB / 435.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.2703, allocations: 163.2 kB / 435.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.145e-05/0.2704, allocations: 36 kB / 435.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.082e-05/0.2704, allocations: 32 kB / 435.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.071e-05/0.2705, allocations: 67.77 kB / 436 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.2707, allocations: 179.1 kB / 436.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004162/0.2711, allocations: 386.8 kB / 436.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2711, allocations: 0 / 436.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2711, allocations: 0 / 436.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2711, allocations: 0 / 436.5 MB, free: 1.453 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.000919/0.272, allocations: 0.5482 MB / 437.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.272, allocations: 8.031 kB / 437.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.054e-05/0.2721, allocations: 78.66 kB / 437.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.718e-05/0.2722, allocations: 36.7 kB / 437.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.2725, allocations: 210.7 kB / 437.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.2726, allocations: 28.97 kB / 437.4 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.2726, allocations: 28.38 kB / 437.5 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.2731, allocations: 282.2 kB / 437.7 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2731, allocations: 0 / 437.7 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.2732, allocations: 16 kB / 437.8 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.2732, allocations: 12 kB / 437.8 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000477/0.2737, allocations: 210.5 kB / 438 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.2752, allocations: 0.9837 MB / 439 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.2755, allocations: 142.6 kB / 439.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/0.2758, allocations: 136.7 kB / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.2758, allocations: 11.89 kB / 439.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.2758, allocations: 30.56 kB / 439.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.283e-06/0.2758, allocations: 0 / 439.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.000556/0.2764, allocations: 224.5 kB / 439.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.2764, allocations: 55.41 kB / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.2766, allocations: 223.1 kB / 439.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.2767, allocations: 29.7 kB / 439.8 MB, free: 14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.2768, allocations: 192.4 kB / 440 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.546e-05/0.2769, allocations: 83.31 kB / 440.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/0.2769, allocations: 45.98 kB / 440.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2771, allocations: 334.8 kB / 440.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.2773, allocations: 68.45 kB / 440.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.2775, allocations: 151.3 kB / 440.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.278, allocations: 233.1 kB / 440.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.278, allocations: 0 / 440.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005001/0.2785, allocations: 269.1 kB / 441.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2785, allocations: 8 kB / 441.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2785, allocations: 0 / 441.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.2785, allocations: 8.234 kB / 441.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.2788, allocations: 79.91 kB / 441.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.2788, allocations: 4 kB / 441.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.279, allocations: 31.77 kB / 441.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.279, allocations: 12 kB / 441.3 MB, free: 12.43 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.0001399/0.2791, allocations: 145.7 kB / 441.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.2792, allocations: 27.8 kB / 441.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004131/0.2796, allocations: 195.3 kB / 441.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2796, allocations: 0 / 441.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.2796, allocations: 7.984 kB / 441.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2796, allocations: 0 / 441.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008193/0.2804, allocations: 0.5731 MB / 442.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2804, allocations: 4.062 kB / 442.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.2807, allocations: 55.91 kB / 442.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.2807, allocations: 4 kB / 442.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.2807, allocations: 7.984 kB / 442.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.2807, allocations: 4 kB / 442.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2807, allocations: 0 / 442.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006026/0.2813, allocations: 379.4 kB / 442.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.2814, allocations: 19.8 kB / 442.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.2814, allocations: 12.05 kB / 442.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.2816, allocations: 11.98 kB / 442.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.2816, allocations: 15.98 kB / 442.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.2816, allocations: 8 kB / 442.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.2818, allocations: 164.5 kB / 442.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2818, allocations: 0 / 442.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003379/0.2821, allocations: 79.78 kB / 443 MB, free: 10.64 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.0008927/0.283, allocations: 0.9147 MB / 443.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004027/0.2834, allocations: 167.1 kB / 444.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2834, allocations: 4 kB / 444.1 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.2836, allocations: 79.89 kB / 444.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.2839, allocations: 33.06 kB / 444.2 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/0.2878, allocations: 2.822 MB / 447 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.2882, allocations: 0.7675 MB / 447.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.2883, allocations: 21.94 kB / 447.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.2885, allocations: 95.41 kB / 447.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2885, allocations: 0 / 447.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/0.3234, allocations: 4.931 MB / 452.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.14, allocations: 0 / 452.8 MB, free: 0.7617 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/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] "Error: Could not read variable sineCurrent.phi in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv. Warning: Get data of variable sineCurrent.phi from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.9033584050012]