Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.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.001831/0.001831, allocations: 107.5 kB / 20.44 MB, free: 1.328 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.002231/0.002231, allocations: 191.3 kB / 23.71 MB, free: 4.52 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.491/1.491, allocations: 225.7 MB / 252.5 MB, free: 12.8 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 47.92 kB / 370.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2559, allocations: 52.18 MB / 422.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004236/0.2602, allocations: 2.686 MB / 425.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.2614, allocations: 0.6405 MB / 425.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.2615, allocations: 11.94 kB / 425.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.2617, allocations: 63.42 kB / 426 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.2619, allocations: 83.2 kB / 426.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.2622, allocations: 99.81 kB / 426.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004037/0.2626, allocations: 382.8 kB / 426.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.2628, allocations: 128.8 kB / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.2631, allocations: 147.5 kB / 426.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.2632, allocations: 135.2 kB / 426.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.71e-05/0.2633, allocations: 36 kB / 427 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.676e-05/0.2634, allocations: 32 kB / 427 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.319e-05/0.2634, allocations: 75.75 kB / 427.1 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.2636, allocations: 135.4 kB / 427.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004227/0.264, allocations: 398.3 kB / 427.6 MB, free: 9.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.264, allocations: 0 / 427.6 MB, free: 9.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.668e-06/0.264, allocations: 3.984 kB / 427.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.264, allocations: 4 kB / 427.6 MB, free: 9.316 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.0009301/0.2649, allocations: 0.5443 MB / 428.1 MB, free: 8.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.265, allocations: 8.031 kB / 428.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.625e-05/0.2651, allocations: 70.72 kB / 428.2 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/0.2651, allocations: 40.7 kB / 428.3 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.2655, allocations: 202 kB / 428.5 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.2655, allocations: 25.03 kB / 428.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.535e-05/0.2656, allocations: 32.33 kB / 428.5 MB, free: 8.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.2661, allocations: 341.5 kB / 428.9 MB, free: 7.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2661, allocations: 0 / 428.9 MB, free: 7.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.2662, allocations: 16 kB / 428.9 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.2662, allocations: 8 kB / 428.9 MB, free: 7.965 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000464/0.2666, allocations: 214.5 kB / 429.1 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.2682, allocations: 0.9058 MB / 430 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.2686, allocations: 146.6 kB / 430.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.2689, allocations: 124.7 kB / 430.3 MB, free: 6.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.2689, allocations: 4 kB / 430.3 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.2689, allocations: 34.5 kB / 430.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.2689, allocations: 0 / 430.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005821/0.2695, allocations: 229.7 kB / 430.5 MB, free: 6.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.2695, allocations: 55.41 kB / 430.6 MB, free: 6.156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.2698, allocations: 219.1 kB / 430.8 MB, free: 5.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.2698, allocations: 25.7 kB / 430.8 MB, free: 5.898 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.27, allocations: 192.4 kB / 431 MB, free: 5.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.747e-05/0.27, allocations: 79.33 kB / 431.1 MB, free: 5.629 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/0.2701, allocations: 49.98 kB / 431.1 MB, free: 5.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2703, allocations: 334.8 kB / 431.5 MB, free: 5.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.2704, allocations: 72.45 kB / 431.5 MB, free: 5.164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.2707, allocations: 155.2 kB / 431.7 MB, free: 4.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.2711, allocations: 221.3 kB / 431.9 MB, free: 4.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2711, allocations: 0 / 431.9 MB, free: 4.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005317/0.2716, allocations: 269.1 kB / 432.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2716, allocations: 8 kB / 432.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2717, allocations: 8.25 kB / 432.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.2717, allocations: 4 kB / 432.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.272, allocations: 71.89 kB / 432.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.272, allocations: 4 kB / 432.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.2722, allocations: 39.77 kB / 432.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.2722, allocations: 8 kB / 432.3 MB, free: 4.32 MB / 334.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.0001515/0.2723, allocations: 145.7 kB / 432.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.2724, allocations: 27.8 kB / 432.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000441/0.2728, allocations: 201.2 kB / 432.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2728, allocations: 4.047 kB / 432.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2728, allocations: 3.984 kB / 432.7 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.2728, allocations: 3.984 kB / 432.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008902/0.2737, allocations: 0.5523 MB / 433.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2737, allocations: 3.938 kB / 433.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.274, allocations: 63.97 kB / 433.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.274, allocations: 0 / 433.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.274, allocations: 4 kB / 433.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.274, allocations: 0 / 433.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.274, allocations: 4 kB / 433.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.2747, allocations: 379 kB / 433.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.2748, allocations: 19.92 kB / 433.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.2748, allocations: 4 kB / 433.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.275, allocations: 19.98 kB / 433.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.275, allocations: 19.97 kB / 433.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.275, allocations: 4 kB / 433.7 MB, free: 2.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.2752, allocations: 164.5 kB / 433.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2752, allocations: 0 / 433.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003806/0.2756, allocations: 75.78 kB / 434 MB, free: 2.551 MB / 334.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.001061/0.2767, allocations: 0.9109 MB / 434.9 MB, free: 1.605 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004265/0.2771, allocations: 171.7 kB / 435 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2771, allocations: 0 / 435 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.2773, allocations: 76.53 kB / 435.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.2776, allocations: 47.95 kB / 435.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/0.2816, allocations: 2.836 MB / 438 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.2818, allocations: 159.5 kB / 438.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.2819, allocations: 21.95 kB / 438.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.2821, allocations: 91.41 kB / 438.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.2821, allocations: 0 / 438.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04667/0.3287, allocations: 5.301 MB / 443.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.38, allocations: 6.734 kB / 443.6 MB, free: 8.914 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv. Warning: Get data of variable sineCurrent.phi from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.26586868101731]