Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.001353/0.001353, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001459/0.001459, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 51.92 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2482, allocations: 49.16 MB / 396.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004197/0.2524, allocations: 3.418 MB / 399.8 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.2544, allocations: 1.383 MB / 401.2 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.2546, allocations: 9.469 kB / 401.2 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.2561, allocations: 0.7052 MB / 401.9 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008321/0.257, allocations: 405.4 kB / 402.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009309/0.2579, allocations: 0.5266 MB / 402.8 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004504/0.2583, allocations: 485.9 kB / 403.3 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004966/0.2588, allocations: 359.8 kB / 403.6 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.2591, allocations: 222.9 kB / 403.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.2594, allocations: 250.7 kB / 404.1 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.624e-05/0.2595, allocations: 46.81 kB / 404.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003961/0.2599, allocations: 202.1 kB / 404.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.26, allocations: 113.8 kB / 404.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.2602, allocations: 203.5 kB / 404.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007889/0.261, allocations: 0.7051 MB / 405.3 MB, free: 3.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.261, allocations: 0.6562 kB / 405.3 MB, free: 3.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.261, allocations: 0 / 405.3 MB, free: 3.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.261, allocations: 0 / 405.3 MB, free: 3.5 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001908/0.2629, allocations: 0.8716 MB / 406.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2629, allocations: 12.83 kB / 406.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001357/0.2631, allocations: 105.2 kB / 406.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004024/0.2671, allocations: 0.5925 MB / 406.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.2675, allocations: 251.4 kB / 407.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.2676, allocations: 45.06 kB / 407.2 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.855e-05/0.2677, allocations: 61.2 kB / 407.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.2688, allocations: 0.5858 MB / 407.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.2688, allocations: 1.438 kB / 407.9 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/0.2689, allocations: 24.5 kB / 407.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.2689, allocations: 13.53 kB / 407.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.2701, allocations: 0.6306 MB / 408.5 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/0.2729, allocations: 1.665 MB / 410.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.2745, allocations: 0.6295 MB / 410.8 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.2748, allocations: 190.1 kB / 411 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.203e-05/0.2749, allocations: 14.42 kB / 411 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.2749, allocations: 44.94 kB / 411.1 MB, free: 488 kB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.264e-06/0.2749, allocations: 1.125 kB / 411.1 MB, free: 488 kB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001759/0.2766, allocations: 0.7168 MB / 411.8 MB, free: 116 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.2767, allocations: 61.22 kB / 411.8 MB, free: 48 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.2769, allocations: 210.4 kB / 412 MB, free: 15.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.277, allocations: 34.92 kB / 412.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.2771, allocations: 255.5 kB / 412.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.2773, allocations: 178.8 kB / 412.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.2774, allocations: 88.66 kB / 412.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.2776, allocations: 337.3 kB / 412.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.2779, allocations: 163.1 kB / 413.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/0.2783, allocations: 273.7 kB / 413.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007791/0.2791, allocations: 465.1 kB / 413.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.2791, allocations: 1.188 kB / 413.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001115/0.2802, allocations: 0.5886 MB / 414.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2803, allocations: 6.062 kB / 414.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.2803, allocations: 3.281 kB / 414.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003328/0.2806, allocations: 85.19 kB / 414.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.281, allocations: 109.5 kB / 414.6 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.2833, allocations: 1.932 MB / 416.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.2836, allocations: 52.84 kB / 416.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.2836, allocations: 23.77 kB / 416.6 MB, free: 12.29 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002141/0.2838, allocations: 179.7 kB / 416.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.2839, allocations: 33.75 kB / 416.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.285, allocations: 0.5492 MB / 417.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.285, allocations: 5.75 kB / 417.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.285, allocations: 1.188 kB / 417.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.285, allocations: 1.156 kB / 417.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.2868, allocations: 1.049 MB / 418.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.2868, allocations: 0 / 418.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003242/0.2871, allocations: 80.27 kB / 418.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002536/0.2874, allocations: 85.75 kB / 418.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.2874, allocations: 14.89 kB / 418.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.2895, allocations: 1.909 MB / 420.5 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2895, allocations: 0 / 420.5 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.2909, allocations: 0.8106 MB / 421.3 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.291, allocations: 36.69 kB / 421.3 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.291, allocations: 6.469 kB / 421.3 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.2913, allocations: 25.23 kB / 421.4 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.369e-05/0.2913, allocations: 41.05 kB / 421.4 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.2914, allocations: 14.09 kB / 421.4 MB, free: 8.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.2915, allocations: 147 kB / 421.6 MB, free: 8.559 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2915, allocations: 4.062 kB / 421.6 MB, free: 8.555 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000619/0.2921, allocations: 157.3 kB / 421.7 MB, free: 8.512 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00179/0.2939, allocations: 1.375 MB / 423.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.295, allocations: 0.5637 MB / 423.7 MB, free: 7.125 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.295, allocations: 0 / 423.7 MB, free: 7.125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005822/0.2956, allocations: 361.8 kB / 424 MB, free: 6.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.2959, allocations: 41.47 kB / 424.1 MB, free: 6.723 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005179/0.3011, allocations: 3.62 MB / 427.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.3013, allocations: 209.8 kB / 427.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001978/0.3015, allocations: 55.25 kB / 427.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.3018, allocations: 155.3 kB / 428.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3018, allocations: 0 / 428.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04046/0.3422, allocations: 8.575 MB / 436.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.82, allocations: 4 kB / 436.7 MB, free: 9.848 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable inductor.pin_p.reference.gamma in file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.csv. Warning: Get data of variable inductor.pin_p.reference.gamma from file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.169596285093576]