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.001401/0.001401, allocations: 114 kB / 20.43 MB, free: 1.457 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.00169/0.00169, allocations: 214.4 kB / 23.74 MB, free: 4.672 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.562/1.562, allocations: 230.5 MB / 257.4 MB, free: 8 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.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 0.001898/0.001898, allocations: 67.89 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3413, allocations: 53.41 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005771/0.3471, allocations: 3.751 MB / 434.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002989/0.3501, allocations: 1.518 MB / 436.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.3503, allocations: 12 kB / 436.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.3523, allocations: 0.7506 MB / 437.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.3533, allocations: 397.3 kB / 437.6 MB, free: 256 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.3546, allocations: 0.5597 MB / 438.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005544/0.3551, allocations: 462 kB / 438.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007364/0.3559, allocations: 438.4 kB / 439 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004838/0.3564, allocations: 223.1 kB / 439.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003563/0.3567, allocations: 275 kB / 439.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.426e-05/0.3568, allocations: 44 kB / 439.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004531/0.3572, allocations: 215.8 kB / 439.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.1e-05/0.3573, allocations: 107.6 kB / 439.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.3576, allocations: 238.8 kB / 440.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.3586, allocations: 0.7083 MB / 440.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3586, allocations: 4 kB / 440.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3586, allocations: 0 / 440.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.3586, allocations: 0 / 440.8 MB, free: 13.02 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.00233/0.361, allocations: 0.8524 MB / 441.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.361, allocations: 8.031 kB / 441.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/0.3612, allocations: 104 kB / 441.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003462/0.3646, allocations: 468.2 kB / 442.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000536/0.3652, allocations: 245.9 kB / 442.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.3653, allocations: 45.69 kB / 442.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.3654, allocations: 56.33 kB / 442.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.3664, allocations: 0.5335 MB / 443.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.3665, allocations: 3.938 kB / 443.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/0.3665, allocations: 24 kB / 443.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.3665, allocations: 12 kB / 443.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.3677, allocations: 0.5829 MB / 443.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003259/0.371, allocations: 1.739 MB / 445.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.3726, allocations: 0.5483 MB / 446 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.3731, allocations: 234.1 kB / 446.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.68e-05/0.3732, allocations: 28.33 kB / 446.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.3732, allocations: 35 kB / 446.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.214e-06/0.3732, allocations: 0 / 446.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001926/0.3751, allocations: 0.6751 MB / 447 MB, free: 6.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.3752, allocations: 55.84 kB / 447.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.3754, allocations: 187 kB / 447.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.3754, allocations: 29.7 kB / 447.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.3756, allocations: 229 kB / 447.5 MB, free: 6.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.3757, allocations: 166.5 kB / 447.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.3759, allocations: 86.17 kB / 447.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.3761, allocations: 342.8 kB / 448.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.3764, allocations: 152.9 kB / 448.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.3768, allocations: 233.9 kB / 448.5 MB, free: 5.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008668/0.3776, allocations: 420.9 kB / 448.9 MB, free: 4.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3776, allocations: 0 / 448.9 MB, free: 4.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001075/0.3787, allocations: 0.5397 MB / 449.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.3787, allocations: 4 kB / 449.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3788, allocations: 4 kB / 449.4 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003928/0.3792, allocations: 92.78 kB / 449.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004741/0.3796, allocations: 91.88 kB / 449.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/0.3818, allocations: 1.682 MB / 451.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.382, allocations: 39.73 kB / 451.3 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.3821, allocations: 19.98 kB / 451.3 MB, free: 2.113 MB / 350.1 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.0003553/0.3824, allocations: 169.8 kB / 451.5 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/0.3825, allocations: 23.86 kB / 451.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.3836, allocations: 0.5394 MB / 452.1 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.3836, allocations: 4 kB / 452.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.3837, allocations: 7.938 kB / 452.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.3837, allocations: 3.984 kB / 452.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.3858, allocations: 1.112 MB / 453.2 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3858, allocations: 0 / 453.2 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.3861, allocations: 79.89 kB / 453.3 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002953/0.3864, allocations: 88.78 kB / 453.4 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.3864, allocations: 12 kB / 453.4 MB, free: 0 / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.3885, allocations: 1.667 MB / 455 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3885, allocations: 0 / 455 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.39, allocations: 0.8029 MB / 455.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.3901, allocations: 35.75 kB / 455.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.3901, allocations: 12.06 kB / 455.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.3904, allocations: 19.98 kB / 455.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.3905, allocations: 44.3 kB / 455.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.3905, allocations: 12 kB / 456 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002866/0.3908, allocations: 131.2 kB / 456.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3908, allocations: 0 / 456.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006041/0.3914, allocations: 155.7 kB / 456.2 MB, free: 12.98 MB / 366.1 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.002122/0.3935, allocations: 1.387 MB / 457.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.3947, allocations: 0.5386 MB / 458.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3948, allocations: 3.938 kB / 458.2 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006138/0.3954, allocations: 357.7 kB / 458.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.3957, allocations: 42.64 kB / 458.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005747/0.4015, allocations: 3.456 MB / 462 MB, free: 6.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.402, allocations: 0.8123 MB / 462.8 MB, free: 6.156 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.4022, allocations: 46.95 kB / 462.9 MB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.4024, allocations: 135.4 kB / 463 MB, free: 5.98 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4024, allocations: 4 kB / 463 MB, free: 5.977 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04627/0.4487, allocations: 8.093 MB / 471.1 MB, free: 14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.18, allocations: 9.797 kB / 471.1 MB, free: 13.99 MB / 382.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/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: 14.79113795900048]