Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001186/0.001186, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001267/0.001267, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9463/0.9463, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.257/0.257, allocations: 32.78 MB / 293.5 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.086e-05, allocations: 4.391 kB / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.1967/0.1967, allocations: 6.817 MB / 446.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003249/0.2, allocations: 2.299 MB / 448.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006665/0.2007, allocations: 29.84 kB / 448.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.2025, allocations: 1.783 MB / 450.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.204, allocations: 0.7234 MB / 451.2 MB, free: 40.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.2053, allocations: 1.035 MB / 452.3 MB, free: 39.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001271/0.2065, allocations: 1.454 MB / 453.7 MB, free: 39.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009761/0.2075, allocations: 0.9202 MB / 454.6 MB, free: 38.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007122/0.2082, allocations: 0.861 MB / 455.5 MB, free: 38.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/0.2086, allocations: 0.5638 MB / 456.1 MB, free: 38.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.86e-05/0.2087, allocations: 114.4 kB / 456.2 MB, free: 38.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005745/0.2093, allocations: 326 kB / 456.5 MB, free: 38.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.2094, allocations: 304.7 kB / 456.8 MB, free: 37.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.2096, allocations: 455.7 kB / 457.2 MB, free: 37.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.2109, allocations: 1.81 MB / 459 MB, free: 36.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.2109, allocations: 0 / 459 MB, free: 36.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2109, allocations: 0 / 459 MB, free: 36.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.2109, allocations: 0 / 459 MB, free: 36.87 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.003895/0.2148, allocations: 2.327 MB / 461.4 MB, free: 35.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.2149, allocations: 9.438 kB / 461.4 MB, free: 35.79 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/0.2151, allocations: 192.6 kB / 461.6 MB, free: 35.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004579/0.2196, allocations: 1.34 MB / 462.9 MB, free: 35.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.2208, allocations: 0.5573 MB / 463.5 MB, free: 35.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.979e-05/0.2209, allocations: 95.08 kB / 463.6 MB, free: 34.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.221, allocations: 133.3 kB / 463.7 MB, free: 34.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.2227, allocations: 1.594 MB / 465.3 MB, free: 34.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.2227, allocations: 4.547 kB / 465.3 MB, free: 34.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.349e-05/0.2228, allocations: 60.72 kB / 465.4 MB, free: 34.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.2228, allocations: 37.16 kB / 465.4 MB, free: 34.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.2243, allocations: 1.499 MB / 466.9 MB, free: 33.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004745/0.2291, allocations: 4.446 MB / 471.3 MB, free: 30.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.2302, allocations: 1.077 MB / 472.4 MB, free: 30.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005382/0.2307, allocations: 0.5476 MB / 473 MB, free: 30.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.2308, allocations: 36.08 kB / 473 MB, free: 30.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.2309, allocations: 45.69 kB / 473 MB, free: 30.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 4.549e-06/0.2309, allocations: 0 / 473 MB, free: 30.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.004845/0.2357, allocations: 3.001 MB / 476 MB, free: 29.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.2358, allocations: 90.33 kB / 476.1 MB, free: 29.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.2361, allocations: 475.4 kB / 476.6 MB, free: 28.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.2362, allocations: 44.86 kB / 476.6 MB, free: 28.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.2363, allocations: 483.4 kB / 477.1 MB, free: 28.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.2365, allocations: 440.2 kB / 477.5 MB, free: 28.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.2367, allocations: 223.4 kB / 477.8 MB, free: 27.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.2368, allocations: 387.4 kB / 478.1 MB, free: 27.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/0.2373, allocations: 460.7 kB / 478.6 MB, free: 27.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/0.2378, allocations: 0.6899 MB / 479.3 MB, free: 26.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.2389, allocations: 1.204 MB / 480.5 MB, free: 26.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.2389, allocations: 3 kB / 480.5 MB, free: 26.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001917/0.2408, allocations: 1.579 MB / 482.1 MB, free: 25.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.2409, allocations: 9.281 kB / 482.1 MB, free: 25.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.2409, allocations: 5.406 kB / 482.1 MB, free: 25.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.2419, allocations: 0.5247 MB / 482.6 MB, free: 25.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.2423, allocations: 199.9 kB / 482.8 MB, free: 25.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001121/0.2424, allocations: 57.33 kB / 482.8 MB, free: 25.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004316/0.2429, allocations: 120.7 kB / 483 MB, free: 25.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.776e-05/0.2429, allocations: 53.77 kB / 483 MB, free: 25.16 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.0003979/0.2433, allocations: 268.7 kB / 483.3 MB, free: 24.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.2435, allocations: 86.81 kB / 483.4 MB, free: 24.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.2454, allocations: 1.542 MB / 484.9 MB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.2454, allocations: 16.84 kB / 484.9 MB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.2454, allocations: 0.9375 kB / 484.9 MB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.2454, allocations: 10.92 kB / 484.9 MB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/0.2485, allocations: 2.643 MB / 487.6 MB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.2485, allocations: 1.219 kB / 487.6 MB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.2489, allocations: 149.5 kB / 487.7 MB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009719/0.2499, allocations: 0.5151 MB / 488.2 MB, free: 22.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/0.25, allocations: 26.59 kB / 488.3 MB, free: 22.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001688/0.2501, allocations: 68.69 kB / 488.3 MB, free: 22.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2501, allocations: 2.031 kB / 488.3 MB, free: 22.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002626/0.2528, allocations: 2.322 MB / 490.7 MB, free: 21.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/0.2532, allocations: 210 kB / 490.9 MB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.942e-05/0.2532, allocations: 22.47 kB / 490.9 MB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.2535, allocations: 47.36 kB / 490.9 MB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.2537, allocations: 94.78 kB / 491 MB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.2537, allocations: 35.94 kB / 491.1 MB, free: 21.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002701/0.254, allocations: 307.2 kB / 491.4 MB, free: 21.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.254, allocations: 0 / 491.4 MB, free: 21.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007906/0.2548, allocations: 353 kB / 491.7 MB, free: 20.98 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.00283/0.2576, allocations: 2.918 MB / 494.6 MB, free: 19.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002065/0.2597, allocations: 1.283 MB / 495.9 MB, free: 18.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.2597, allocations: 0.5156 kB / 495.9 MB, free: 18.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.2608, allocations: 0.681 MB / 496.6 MB, free: 18.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006751/0.2615, allocations: 105.6 kB / 496.7 MB, free: 18.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.2717, allocations: 8.376 MB / 0.4932 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.2722, allocations: 462 kB / 0.4937 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003738/0.2726, allocations: 109.5 kB / 0.4938 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.2729, allocations: 391.1 kB / 0.4941 GB, free: 13.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2729, allocations: 0 / 0.4941 GB, free: 13.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.3113, allocations: 21.62 MB / 0.5153 GB, free: 12.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.529, allocations: 0 / 0.5153 GB, free: 12.3 MB / 426.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv. Warning: Get data of variable I.re from file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv failed! Error: Could not read variable I.im in file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv. Warning: Get data of variable I.im from file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.740146820433438]