Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.0007983/0.0007983, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.00082/0.00082, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8926/0.8926, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2884/0.2884, allocations: 34.25 MB / 294.9 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.216e-05, allocations: 3.266 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.1971/0.1971, allocations: 6.824 MB / 449 MB, free: 40.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003299/0.2004, allocations: 2.303 MB / 451.3 MB, free: 39.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006632/0.2011, allocations: 29.28 kB / 451.3 MB, free: 39.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.2031, allocations: 1.775 MB / 453.1 MB, free: 38.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.2045, allocations: 0.7216 MB / 453.8 MB, free: 37.72 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.2057, allocations: 1.036 MB / 454.9 MB, free: 37.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009969/0.2067, allocations: 1.465 MB / 456.3 MB, free: 36.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008722/0.2075, allocations: 0.9187 MB / 457.2 MB, free: 35.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006311/0.2082, allocations: 0.8561 MB / 458.1 MB, free: 35.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.2085, allocations: 0.5577 MB / 458.7 MB, free: 35.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.2087, allocations: 114.6 kB / 458.8 MB, free: 35.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005073/0.2092, allocations: 330.5 kB / 459.1 MB, free: 35.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.2093, allocations: 306.7 kB / 459.4 MB, free: 35.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.2095, allocations: 458.3 kB / 459.8 MB, free: 34.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.2107, allocations: 1.805 MB / 461.6 MB, free: 34.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2107, allocations: 0 / 461.6 MB, free: 34.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2107, allocations: 0 / 461.6 MB, free: 34.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.2107, allocations: 0 / 461.6 MB, free: 34.09 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.004113/0.2148, allocations: 2.327 MB / 464 MB, free: 33.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.2149, allocations: 9.688 kB / 464 MB, free: 33.01 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.215, allocations: 192.4 kB / 464.2 MB, free: 32.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004473/0.2195, allocations: 1.34 MB / 465.5 MB, free: 32.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.2205, allocations: 0.5567 MB / 466.1 MB, free: 32.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.228e-05/0.2205, allocations: 100.6 kB / 466.2 MB, free: 32.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.2207, allocations: 132.9 kB / 466.3 MB, free: 32.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.2223, allocations: 1.593 MB / 467.9 MB, free: 31.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.2223, allocations: 11.28 kB / 467.9 MB, free: 31.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.818e-05/0.2224, allocations: 57.12 kB / 467.9 MB, free: 31.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.2224, allocations: 35.59 kB / 468 MB, free: 31.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.2239, allocations: 1.501 MB / 469.5 MB, free: 30.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004316/0.2282, allocations: 4.444 MB / 473.9 MB, free: 28.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.2293, allocations: 1.065 MB / 475 MB, free: 27.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/0.2299, allocations: 0.5452 MB / 475.5 MB, free: 27.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.603e-05/0.23, allocations: 38.77 kB / 475.6 MB, free: 27.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.23, allocations: 53.52 kB / 475.6 MB, free: 27.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 3.327e-06/0.23, allocations: 0 / 475.6 MB, free: 27.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.00479/0.2348, allocations: 2.994 MB / 478.6 MB, free: 26.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.2348, allocations: 93.98 kB / 478.7 MB, free: 26.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.2352, allocations: 475.4 kB / 479.2 MB, free: 26.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.2352, allocations: 48.14 kB / 479.2 MB, free: 25.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.2354, allocations: 473.6 kB / 479.7 MB, free: 25.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.2356, allocations: 450 kB / 480.1 MB, free: 25.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.2358, allocations: 220.7 kB / 480.3 MB, free: 25.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.231e-05/0.2358, allocations: 388.5 kB / 480.7 MB, free: 24.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/0.2364, allocations: 456.8 kB / 481.2 MB, free: 24.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000657/0.237, allocations: 0.6927 MB / 481.9 MB, free: 24.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.2383, allocations: 1.209 MB / 483.1 MB, free: 23.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.2383, allocations: 2.906 kB / 483.1 MB, free: 23.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00206/0.2403, allocations: 1.575 MB / 484.6 MB, free: 22.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.2404, allocations: 7.969 kB / 484.7 MB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/0.2404, allocations: 10.38 kB / 484.7 MB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.2414, allocations: 0.5215 MB / 485.2 MB, free: 22.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.2419, allocations: 202 kB / 485.4 MB, free: 22.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001152/0.242, allocations: 52.84 kB / 485.4 MB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004608/0.2424, allocations: 120.3 kB / 485.6 MB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/0.2425, allocations: 53.53 kB / 485.6 MB, free: 22.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004203/0.2429, allocations: 276.3 kB / 485.9 MB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.2431, allocations: 89.94 kB / 486 MB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.2449, allocations: 1.538 MB / 487.5 MB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.2449, allocations: 18.95 kB / 487.5 MB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2449, allocations: 2.281 kB / 487.5 MB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.245, allocations: 11.59 kB / 487.5 MB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/0.248, allocations: 2.639 MB / 490.2 MB, free: 20.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.248, allocations: 1 kB / 490.2 MB, free: 20.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.2484, allocations: 147.7 kB / 490.3 MB, free: 20.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008414/0.2492, allocations: 0.5178 MB / 490.8 MB, free: 19.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.513e-05/0.2493, allocations: 28.47 kB / 490.9 MB, free: 19.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001493/0.2494, allocations: 68.8 kB / 490.9 MB, free: 19.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2494, allocations: 1.312 kB / 490.9 MB, free: 19.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.2518, allocations: 2.324 MB / 493.3 MB, free: 18.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003253/0.2522, allocations: 208.8 kB / 493.5 MB, free: 18.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.524e-05/0.2522, allocations: 22.17 kB / 493.5 MB, free: 18.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.2525, allocations: 47.62 kB / 493.5 MB, free: 18.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.2527, allocations: 84.22 kB / 493.6 MB, free: 18.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.2527, allocations: 35.3 kB / 493.6 MB, free: 18.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002541/0.253, allocations: 310.7 kB / 493.9 MB, free: 18.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.253, allocations: 0 / 493.9 MB, free: 18.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007747/0.2538, allocations: 349.3 kB / 494.3 MB, free: 18.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002833/0.2566, allocations: 2.918 MB / 497.2 MB, free: 16.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002097/0.2587, allocations: 1.283 MB / 498.5 MB, free: 16.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2587, allocations: 1.781 kB / 498.5 MB, free: 16.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.2598, allocations: 0.6809 MB / 499.2 MB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.2603, allocations: 104.5 kB / 499.3 MB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.2709, allocations: 8.386 MB / 0.4958 GB, free: 11.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000585/0.2714, allocations: 457.6 kB / 0.4962 GB, free: 10.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004498/0.2719, allocations: 114.3 kB / 0.4963 GB, free: 10.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.2722, allocations: 391.4 kB / 0.4967 GB, free: 10.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.834e-06/0.2722, allocations: 0 / 0.4967 GB, free: 10.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.3069, allocations: 21.61 MB / 0.5178 GB, free: 8.262 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.327/8.634, allocations: 14.47 kB / 0.5178 GB, free: 8.254 MB / 426.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019976 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable I.re in file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv. Warning: Get data of variable I.re from file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv failed! Error: Could not read variable I.im in file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv. Warning: Get data of variable I.im from file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.853942328132689]