Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.002187/0.002187, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 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.002498/0.002498, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 51.91 kB / 377.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3037, allocations: 53.36 MB / 431.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005773/0.3095, allocations: 3.753 MB / 434.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002808/0.3123, allocations: 1.518 MB / 436.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.3125, allocations: 8 kB / 436.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.3145, allocations: 0.7467 MB / 437.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.3155, allocations: 409 kB / 437.6 MB, free: 452 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.3167, allocations: 0.5402 MB / 438.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005847/0.3172, allocations: 470 kB / 438.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007041/0.318, allocations: 430 kB / 439 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003401/0.3183, allocations: 235.1 kB / 439.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003447/0.3186, allocations: 263 kB / 439.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.3187, allocations: 44 kB / 439.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004515/0.3191, allocations: 219.8 kB / 439.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.893e-05/0.3192, allocations: 107.6 kB / 439.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.3195, allocations: 238.8 kB / 440.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009077/0.3204, allocations: 0.7083 MB / 440.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3204, allocations: 0 / 440.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3204, allocations: 3.938 kB / 440.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.3204, allocations: 4 kB / 440.8 MB, free: 13.21 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.002102/0.3225, allocations: 0.8485 MB / 441.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3225, allocations: 8.031 kB / 441.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.3227, allocations: 108 kB / 441.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003345/0.326, allocations: 468.2 kB / 442.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000591/0.3266, allocations: 253.9 kB / 442.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.3267, allocations: 41.69 kB / 442.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.3268, allocations: 56.33 kB / 442.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.3278, allocations: 0.5374 MB / 443.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.3279, allocations: 7.984 kB / 443.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.034e-05/0.3279, allocations: 20 kB / 443.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.3279, allocations: 12 kB / 443.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.3291, allocations: 0.5829 MB / 443.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003086/0.3322, allocations: 1.739 MB / 445.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.3337, allocations: 0.554 MB / 446 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004948/0.3342, allocations: 236.7 kB / 446.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.132e-05/0.3343, allocations: 20.41 kB / 446.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.3343, allocations: 39 kB / 446.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.525e-06/0.3343, allocations: 0 / 446.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001865/0.3362, allocations: 0.6713 MB / 447 MB, free: 6.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.3362, allocations: 59.84 kB / 447 MB, free: 6.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.3365, allocations: 182.3 kB / 447.2 MB, free: 6.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.3365, allocations: 33.7 kB / 447.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.3367, allocations: 225 kB / 447.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.3368, allocations: 170.5 kB / 447.6 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.3369, allocations: 90.19 kB / 447.7 MB, free: 6.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3371, allocations: 334.8 kB / 448 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.3374, allocations: 152.9 kB / 448.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.3378, allocations: 237.9 kB / 448.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007138/0.3385, allocations: 420.8 kB / 448.8 MB, free: 4.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3385, allocations: 0 / 448.8 MB, free: 4.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001097/0.3396, allocations: 0.5356 MB / 449.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.3397, allocations: 8 kB / 449.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3397, allocations: 0 / 449.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/0.34, allocations: 89 kB / 449.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.3405, allocations: 95.83 kB / 449.5 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.3424, allocations: 1.678 MB / 451.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.3427, allocations: 43.72 kB / 451.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.3427, allocations: 20 kB / 451.3 MB, free: 2.301 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.000237/0.343, allocations: 169.8 kB / 451.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.343, allocations: 27.84 kB / 451.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.3442, allocations: 0.5316 MB / 452 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.3442, allocations: 8 kB / 452 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3442, allocations: 3.938 kB / 452 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.3442, allocations: 3.984 kB / 452 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.3461, allocations: 1.116 MB / 453.1 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3461, allocations: 0 / 453.1 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.3464, allocations: 91.95 kB / 453.2 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002796/0.3467, allocations: 72.81 kB / 453.3 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.3467, allocations: 15.98 kB / 453.3 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.3486, allocations: 1.666 MB / 455 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.3486, allocations: 4.031 kB / 455 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.35, allocations: 0.8029 MB / 455.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.3501, allocations: 39.7 kB / 455.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.3501, allocations: 11.98 kB / 455.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.3504, allocations: 16 kB / 455.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.832e-05/0.3505, allocations: 40.3 kB / 455.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.3505, allocations: 16 kB / 455.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.3507, allocations: 132.2 kB / 456 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3507, allocations: 0 / 456 MB, free: 13.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000606/0.3513, allocations: 155.7 kB / 456.2 MB, free: 13.17 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.001942/0.3532, allocations: 1.383 MB / 457.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.3543, allocations: 0.5507 MB / 458.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3544, allocations: 0 / 458.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005904/0.3549, allocations: 353 kB / 458.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.3553, allocations: 35.92 kB / 458.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005055/0.3604, allocations: 3.468 MB / 462 MB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.3608, allocations: 0.8045 MB / 462.8 MB, free: 6.348 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.361, allocations: 54.94 kB / 462.8 MB, free: 6.293 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.3612, allocations: 131.4 kB / 463 MB, free: 6.168 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3612, allocations: 0 / 463 MB, free: 6.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04163/0.4028, allocations: 8.092 MB / 471.1 MB, free: 14.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.09, allocations: 6.516 kB / 471.1 MB, free: 14.22 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv. Warning: Get data of variable resistor.pin_p.reference.gamma from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.721949812003004]