Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.001145/0.001145, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009048/0.0009048, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8733/0.8733, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.718e-06/1.105e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.002918/0.002929, allocations: 3.405 MB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.004567, allocations: 1.401 MB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.004692, allocations: 8 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008711/0.005563, allocations: 0.7302 MB / 330.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000509/0.006072, allocations: 397.8 kB / 330.4 MB, free: 9.922 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.006591, allocations: 0.521 MB / 331 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000327/0.006918, allocations: 493.5 kB / 331.5 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004582/0.007376, allocations: 414.2 kB / 331.9 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.007683, allocations: 315.3 kB / 332.2 MB, free: 8.203 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.00789, allocations: 211.4 kB / 332.4 MB, free: 7.996 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.856e-05/0.007939, allocations: 44 kB / 332.4 MB, free: 7.953 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.00821, allocations: 207.6 kB / 332.6 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.008278, allocations: 111.6 kB / 332.7 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.008383, allocations: 159.6 kB / 332.9 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005503/0.008933, allocations: 0.7281 MB / 333.6 MB, free: 6.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.008935, allocations: 4 kB / 333.6 MB, free: 6.746 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.008936, allocations: 0 / 333.6 MB, free: 6.746 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.008941, allocations: 0 / 333.6 MB, free: 6.746 MB / 298.7 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.001272/0.01021, allocations: 0.8485 MB / 334.5 MB, free: 5.867 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.01025, allocations: 11.98 kB / 334.5 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.01036, allocations: 103.9 kB / 334.6 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.01197, allocations: 472.2 kB / 335 MB, free: 5.281 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.01227, allocations: 253.1 kB / 335.3 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.01229, allocations: 37.69 kB / 335.3 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.479e-05/0.01235, allocations: 56.38 kB / 335.4 MB, free: 4.918 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006008/0.01295, allocations: 0.5515 MB / 335.9 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.01296, allocations: 4.188 kB / 335.9 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.013, allocations: 23.94 kB / 336 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-06/0.01301, allocations: 12 kB / 336 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/0.01365, allocations: 0.5829 MB / 336.5 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.0154, allocations: 1.607 MB / 338.2 MB, free: 2.055 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000843/0.01625, allocations: 0.5453 MB / 338.7 MB, free: 1.508 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.01653, allocations: 226.2 kB / 338.9 MB, free: 1.285 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.007e-05/0.01658, allocations: 20.48 kB / 338.9 MB, free: 1.266 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.01661, allocations: 47.05 kB / 339 MB, free: 1.211 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.573e-06/0.01661, allocations: 0 / 339 MB, free: 1.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001036/0.01765, allocations: 0.6655 MB / 339.7 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.01768, allocations: 59.84 kB / 339.7 MB, free: 476 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.0178, allocations: 202 kB / 339.9 MB, free: 264 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.01782, allocations: 29.7 kB / 339.9 MB, free: 228 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.765e-05/0.0179, allocations: 221 kB / 340.2 MB, free: 4 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.01804, allocations: 166.8 kB / 340.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/0.01813, allocations: 82.14 kB / 340.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.914e-05/0.0182, allocations: 338.8 kB / 340.7 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.01839, allocations: 152.9 kB / 340.9 MB, free: 15.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.0186, allocations: 238 kB / 341.1 MB, free: 15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.01901, allocations: 417.9 kB / 341.5 MB, free: 14.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01901, allocations: 3.75 kB / 341.5 MB, free: 14.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007614/0.01977, allocations: 0.5409 MB / 342.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.01979, allocations: 8 kB / 342.1 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01979, allocations: 0 / 342.1 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002029/0.02, allocations: 85.08 kB / 342.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.0202, allocations: 91.89 kB / 342.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.02128, allocations: 1.662 MB / 343.9 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.02142, allocations: 47.72 kB / 344 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.02144, allocations: 23.94 kB / 344 MB, free: 11.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.02156, allocations: 169.7 kB / 344.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.02159, allocations: 23.86 kB / 344.2 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006255/0.02222, allocations: 0.5449 MB / 344.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.02222, allocations: 4 kB / 344.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.02223, allocations: 4 kB / 344.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.02223, allocations: 3.938 kB / 344.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.02347, allocations: 1.059 MB / 345.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.02347, allocations: 4.062 kB / 345.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.02363, allocations: 79.83 kB / 345.9 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/0.02377, allocations: 76.81 kB / 345.9 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.02379, allocations: 11.98 kB / 345.9 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009372/0.02473, allocations: 1.655 MB / 347.6 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.02473, allocations: 4.031 kB / 347.6 MB, free: 8.148 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007797/0.02551, allocations: 0.805 MB / 348.4 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.02553, allocations: 31.72 kB / 348.4 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.02556, allocations: 12 kB / 348.5 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.02566, allocations: 15.98 kB / 348.5 MB, free: 7.262 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.02572, allocations: 44.42 kB / 348.5 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.02574, allocations: 8 kB / 348.5 MB, free: 7.211 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.078e-05/0.02581, allocations: 143.2 kB / 348.7 MB, free: 7.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02581, allocations: 0 / 348.7 MB, free: 7.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002946/0.0261, allocations: 147.7 kB / 348.8 MB, free: 6.926 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/0.02713, allocations: 1.389 MB / 350.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006094/0.02774, allocations: 0.5401 MB / 350.7 MB, free: 4.941 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.02774, allocations: 0 / 350.7 MB, free: 4.941 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.02804, allocations: 369.2 kB / 351.1 MB, free: 4.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.02827, allocations: 27.12 kB / 351.1 MB, free: 4.547 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.03128, allocations: 3.422 MB / 354.5 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.0314, allocations: 216.6 kB / 354.8 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.03151, allocations: 46.95 kB / 354.8 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.03164, allocations: 140.4 kB / 354.9 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.03164, allocations: 0 / 354.9 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.05181, allocations: 8.538 MB / 363.5 MB, free: 8.148 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.286/7.338, allocations: 4.062 kB / 363.5 MB, free: 8.145 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_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_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable resistor.pin_p.reference.gamma in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv. Warning: Get data of variable resistor.pin_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.05796844791621]