Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 109.5 kB / 20.43 MB, free: 1.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 180.5 kB / 23.71 MB, free: 4.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 47.92 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3133, allocations: 52.19 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005557/0.3188, allocations: 3.735 MB / 426.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.3218, allocations: 1.452 MB / 427.8 MB, free: 9.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.3221, allocations: 8 kB / 427.8 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.3241, allocations: 0.7545 MB / 428.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.3254, allocations: 0.547 MB / 429.1 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008764/0.3263, allocations: 436.3 kB / 429.6 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005259/0.3268, allocations: 462 kB / 430 MB, free: 7.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007027/0.3275, allocations: 430.6 kB / 430.4 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003343/0.3278, allocations: 219.2 kB / 430.6 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.3282, allocations: 274.9 kB / 430.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.735e-05/0.3283, allocations: 44 kB / 431 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004469/0.3287, allocations: 211.8 kB / 431.2 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.588e-05/0.3288, allocations: 107.6 kB / 431.3 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.329, allocations: 242.8 kB / 431.5 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008983/0.3299, allocations: 0.685 MB / 432.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3299, allocations: 4 kB / 432.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3299, allocations: 0 / 432.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.3299, allocations: 0 / 432.2 MB, free: 5.027 MB / 334.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.002179/0.3321, allocations: 0.8564 MB / 433 MB, free: 4.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.3322, allocations: 12.03 kB / 433.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001605/0.3323, allocations: 96.02 kB / 433.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003572/0.3359, allocations: 0.4884 MB / 433.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.3364, allocations: 253.8 kB / 433.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/0.3365, allocations: 37.69 kB / 433.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.717e-05/0.3366, allocations: 56.38 kB / 434 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.3376, allocations: 0.5296 MB / 434.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.3376, allocations: 7.938 kB / 434.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.133e-05/0.3377, allocations: 24 kB / 434.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.3377, allocations: 12 kB / 434.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.3388, allocations: 0.5751 MB / 435.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003062/0.3418, allocations: 1.727 MB / 436.9 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.3434, allocations: 0.55 MB / 437.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004869/0.3438, allocations: 229.3 kB / 437.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.055e-05/0.3439, allocations: 24.33 kB / 437.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.3439, allocations: 31 kB / 437.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.304e-06/0.3439, allocations: 4 kB / 437.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001834/0.3458, allocations: 0.6597 MB / 438.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.3458, allocations: 55.84 kB / 438.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.346, allocations: 190.2 kB / 438.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.3461, allocations: 37.7 kB / 438.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.3462, allocations: 225 kB / 438.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.3464, allocations: 162.6 kB / 439 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.3465, allocations: 86.14 kB / 439.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3467, allocations: 338.8 kB / 439.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.347, allocations: 152.9 kB / 439.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.3474, allocations: 237.9 kB / 439.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00074/0.3481, allocations: 416.9 kB / 440.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3481, allocations: 4 kB / 440.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001075/0.3492, allocations: 0.5241 MB / 440.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3492, allocations: 12 kB / 440.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3492, allocations: 7.938 kB / 440.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003706/0.3496, allocations: 84.73 kB / 440.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.35, allocations: 91.89 kB / 440.9 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.352, allocations: 1.679 MB / 442.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.3523, allocations: 55.61 kB / 442.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.3523, allocations: 20 kB / 442.7 MB, free: 10.13 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.0002366/0.3525, allocations: 165.7 kB / 442.8 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.3526, allocations: 23.86 kB / 442.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.3538, allocations: 0.5356 MB / 443.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3538, allocations: 4 kB / 443.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3538, allocations: 11.94 kB / 443.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.3538, allocations: 3.984 kB / 443.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.3556, allocations: 1.108 MB / 444.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.3556, allocations: 4 kB / 444.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.356, allocations: 79.84 kB / 444.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002806/0.3563, allocations: 76.8 kB / 444.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.3563, allocations: 12 kB / 444.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.3581, allocations: 1.675 MB / 446.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3581, allocations: 0 / 446.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.3595, allocations: 0.7952 MB / 447.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.3596, allocations: 31.78 kB / 447.2 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.3596, allocations: 11.98 kB / 447.2 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.3599, allocations: 16 kB / 447.2 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.36, allocations: 44.23 kB / 447.3 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.36, allocations: 12 kB / 447.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.3602, allocations: 152.3 kB / 447.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3602, allocations: 0 / 447.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005734/0.3607, allocations: 147.7 kB / 447.6 MB, free: 5.012 MB / 350.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.001886/0.3626, allocations: 1.383 MB / 449 MB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.3637, allocations: 0.5348 MB / 449.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3638, allocations: 0 / 449.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005896/0.3643, allocations: 356.9 kB / 449.8 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.3647, allocations: 36.73 kB / 449.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005078/0.3698, allocations: 3.445 MB / 453.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.3703, allocations: 0.8084 MB / 454.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001935/0.3704, allocations: 46.95 kB / 454.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.3707, allocations: 139.4 kB / 454.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3707, allocations: 0 / 454.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04358/0.4142, allocations: 7.995 MB / 462.3 MB, free: 6.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.4, allocations: 3.938 kB / 462.3 MB, free: 6.191 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv. Warning: Get data of variable resistor.pin_p.reference.gamma from file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.913043447999371]