Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001382/0.001382, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001628/0.001628, allocations: 207.5 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 63.91 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1084, allocations: 53.38 MB / 426.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005162/0.1136, allocations: 3.729 MB / 430.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2302/0.3438, allocations: 1.496 MB / 431.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.3441, allocations: 9.688 kB / 431.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.3458, allocations: 0.7541 MB / 432.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008829/0.3467, allocations: 392.9 kB / 432.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009079/0.3476, allocations: 0.5608 MB / 433.3 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.348, allocations: 455.9 kB / 433.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004654/0.3484, allocations: 298.6 kB / 434 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.3487, allocations: 218.8 kB / 434.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.349, allocations: 266.8 kB / 434.5 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.443e-05/0.3491, allocations: 40.59 kB / 434.5 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004056/0.3495, allocations: 218.3 kB / 434.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.131e-05/0.3495, allocations: 103.1 kB / 434.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.3497, allocations: 231.4 kB / 435.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007779/0.3505, allocations: 0.6957 MB / 435.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3505, allocations: 1.188 kB / 435.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3505, allocations: 0 / 435.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.3505, allocations: 0 / 435.8 MB, free: 6.961 MB / 350.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.002028/0.3526, allocations: 0.9132 MB / 436.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3526, allocations: 9.062 kB / 436.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.3527, allocations: 99.92 kB / 436.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00353/0.3563, allocations: 475.8 kB / 437.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.3567, allocations: 309.2 kB / 437.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.3567, allocations: 39.5 kB / 437.6 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.89e-05/0.3568, allocations: 55.55 kB / 437.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009512/0.3577, allocations: 0.5205 MB / 438.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.3578, allocations: 0.5625 kB / 438.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.027e-05/0.3578, allocations: 24.81 kB / 438.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.3578, allocations: 13.56 kB / 438.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.3589, allocations: 0.5745 MB / 438.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.3616, allocations: 1.962 MB / 440.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.3633, allocations: 2.135 MB / 442.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/0.3637, allocations: 186.8 kB / 443.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.3638, allocations: 177.2 kB / 443.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3638, allocations: 42.5 kB / 443.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.164e-06/0.3638, allocations: 0 / 443.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002147/0.366, allocations: 0.7921 MB / 444.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.366, allocations: 56.86 kB / 444.1 MB, free: 1.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.3662, allocations: 196 kB / 444.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.3662, allocations: 31.14 kB / 444.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.3663, allocations: 220.1 kB / 444.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.3665, allocations: 174.7 kB / 444.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.3666, allocations: 85.94 kB / 444.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.3667, allocations: 336.5 kB / 445.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.367, allocations: 148.9 kB / 445.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.3674, allocations: 230.7 kB / 445.5 MB, free: 376 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/0.368, allocations: 403.1 kB / 445.9 MB, free: 144 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.3681, allocations: 0.875 kB / 445.9 MB, free: 144 kB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00118/0.3692, allocations: 0.5375 MB / 446.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3693, allocations: 5.562 kB / 446.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.3693, allocations: 2.344 kB / 446.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003699/0.3696, allocations: 86.27 kB / 446.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00037/0.37, allocations: 91.09 kB / 446.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.3724, allocations: 2.055 MB / 448.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.3727, allocations: 42.73 kB / 448.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.3727, allocations: 22.64 kB / 448.8 MB, free: 14.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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.0002481/0.373, allocations: 167.4 kB / 448.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.741e-05/0.373, allocations: 27.44 kB / 448.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.3742, allocations: 0.5431 MB / 449.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3742, allocations: 5.906 kB / 449.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3742, allocations: 1.906 kB / 449.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.3742, allocations: 7.438 kB / 449.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.3761, allocations: 1.131 MB / 450.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3761, allocations: 0 / 450.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.3764, allocations: 77.56 kB / 450.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002825/0.3767, allocations: 87.58 kB / 450.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.3767, allocations: 12.98 kB / 450.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.3788, allocations: 2.038 MB / 452.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3788, allocations: 288 / 452.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.3803, allocations: 0.7956 MB / 453.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.284e-05/0.3804, allocations: 108.4 kB / 453.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.3804, allocations: 18.14 kB / 453.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.3806, allocations: 21.97 kB / 453.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.58e-05/0.3807, allocations: 37.81 kB / 453.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.3808, allocations: 15.11 kB / 453.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.3809, allocations: 135.7 kB / 454 MB, free: 10.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3809, allocations: 0 / 454 MB, free: 10.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006688/0.3816, allocations: 152.1 kB / 454.1 MB, free: 10.41 MB / 366.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 (42): * Single equations (assignments): 41 * 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.001865/0.3834, allocations: 1.374 MB / 455.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.3845, allocations: 0.5434 MB / 456 MB, free: 9.176 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3845, allocations: 0 / 456 MB, free: 9.176 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006045/0.3851, allocations: 359.4 kB / 456.4 MB, free: 8.977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.3855, allocations: 34.12 kB / 456.4 MB, free: 8.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005093/0.3906, allocations: 3.4 MB / 459.8 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.3911, allocations: 0.8109 MB / 460.6 MB, free: 6.039 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001749/0.3912, allocations: 46.48 kB / 460.7 MB, free: 6.027 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.3915, allocations: 135.8 kB / 460.8 MB, free: 5.93 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3915, allocations: 0 / 460.8 MB, free: 5.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03707/0.4285, allocations: 7.773 MB / 468.6 MB, free: 2.812 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.51, allocations: 14.58 kB / 468.6 MB, free: 2.801 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.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_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv. Warning: Get data of variable inductor.pin_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.974136888049543]