Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.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.001777/0.001777, allocations: 111.1 kB / 20.44 MB, free: 1.344 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.002351/0.002351, allocations: 214.6 kB / 23.73 MB, free: 4.523 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.426/1.426, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 43.94 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3069, allocations: 53.37 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004568/0.3114, allocations: 2.711 MB / 433.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.3128, allocations: 0.6794 MB / 434.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.313, allocations: 4 kB / 434.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.3132, allocations: 67.36 kB / 434.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.3134, allocations: 87.19 kB / 434.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.3137, allocations: 91.89 kB / 434.7 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004381/0.3141, allocations: 378.8 kB / 435.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002581/0.3144, allocations: 120.8 kB / 435.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.3147, allocations: 151.4 kB / 435.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.3149, allocations: 139.3 kB / 435.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.755e-05/0.3149, allocations: 32 kB / 435.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.85e-05/0.315, allocations: 32 kB / 435.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.418e-05/0.3151, allocations: 75.77 kB / 435.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.3152, allocations: 139.4 kB / 435.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.3157, allocations: 402.2 kB / 436.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3157, allocations: 0 / 436.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3157, allocations: 0 / 436.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3157, allocations: 4 kB / 436.2 MB, free: 1.555 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009854/0.3167, allocations: 0.5405 MB / 436.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3167, allocations: 12.02 kB / 436.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.606e-05/0.3168, allocations: 66.73 kB / 436.8 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.075e-05/0.3169, allocations: 44.69 kB / 436.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.3172, allocations: 202.7 kB / 437 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.3172, allocations: 25.03 kB / 437.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.618e-05/0.3173, allocations: 36.31 kB / 437.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.3179, allocations: 333.6 kB / 437.4 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3179, allocations: 8 kB / 437.4 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.3179, allocations: 12 kB / 437.4 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3179, allocations: 8 kB / 437.4 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/0.3184, allocations: 214.5 kB / 437.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.3199, allocations: 0.9097 MB / 438.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.3203, allocations: 160.3 kB / 438.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.3206, allocations: 128.7 kB / 438.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.3206, allocations: 4 kB / 438.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3206, allocations: 34.56 kB / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.353e-06/0.3206, allocations: 0 / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005719/0.3212, allocations: 228.8 kB / 439.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.3213, allocations: 51.41 kB / 439.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.3215, allocations: 223.1 kB / 439.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.3215, allocations: 25.7 kB / 439.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.3216, allocations: 200.4 kB / 439.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.19e-05/0.3217, allocations: 79.38 kB / 439.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-05/0.3218, allocations: 45.98 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.322, allocations: 338.8 kB / 440 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.3221, allocations: 68.52 kB / 440.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.3224, allocations: 143.2 kB / 440.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.3228, allocations: 237.1 kB / 440.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3228, allocations: 0 / 440.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004995/0.3233, allocations: 269.2 kB / 440.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.3233, allocations: 8 kB / 440.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3233, allocations: 0 / 440.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3233, allocations: 4 kB / 440.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/0.3236, allocations: 75.89 kB / 440.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.3236, allocations: 7.938 kB / 440.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.3238, allocations: 35.77 kB / 440.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.3238, allocations: 16.22 kB / 440.9 MB, free: 12.54 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.3239, allocations: 145.7 kB / 441 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.324, allocations: 27.8 kB / 441.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004243/0.3244, allocations: 195.3 kB / 441.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3244, allocations: 4 kB / 441.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3244, allocations: 0 / 441.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3244, allocations: 3.984 kB / 441.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000878/0.3253, allocations: 0.5497 MB / 441.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3253, allocations: 7.938 kB / 441.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.3256, allocations: 51.97 kB / 441.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3256, allocations: 7.938 kB / 441.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.3256, allocations: 4 kB / 441.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3256, allocations: 4 kB / 441.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3256, allocations: 3.938 kB / 441.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006136/0.3262, allocations: 379.8 kB / 442.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.3263, allocations: 23.92 kB / 442.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.3263, allocations: 4 kB / 442.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.3265, allocations: 15.98 kB / 442.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.3265, allocations: 15.97 kB / 442.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.3265, allocations: 8 kB / 442.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.3267, allocations: 160.6 kB / 442.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3267, allocations: 0 / 442.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003329/0.327, allocations: 79.78 kB / 442.6 MB, free: 10.78 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009391/0.3279, allocations: 0.9056 MB / 443.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003991/0.3283, allocations: 168.3 kB / 443.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3283, allocations: 4 kB / 443.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.3286, allocations: 79.8 kB / 443.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.3289, allocations: 35.34 kB / 443.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/0.3327, allocations: 2.822 MB / 446.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.3328, allocations: 159.5 kB / 446.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.333, allocations: 17.95 kB / 446.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.3331, allocations: 91.41 kB / 446.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3331, allocations: 0 / 446.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0353/0.3684, allocations: 5.309 MB / 452.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.34, allocations: 10.09 kB / 452.1 MB, free: 1.16 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sineCurrent.phi in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv. Warning: Get data of variable sineCurrent.phi from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.093834728002548]