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.001814/0.001814, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002249/0.002249, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.2137/0.2137, allocations: 44.94 MB / 358.8 MB, free: 6.066 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 63.91 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3401, allocations: 65.47 MB / 0.557 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009174/0.3493, allocations: 6.819 MB / 0.5636 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005328/0.3546, allocations: 2.287 MB / 0.5659 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009499/0.3556, allocations: 31.94 kB / 0.5659 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004364/0.3599, allocations: 1.691 MB / 0.5675 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002746/0.3627, allocations: 0.6987 MB / 0.5682 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.3655, allocations: 1.035 MB / 0.5692 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002634/0.3681, allocations: 1.417 MB / 0.5706 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.3697, allocations: 0.9144 MB / 0.5715 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009485/0.3706, allocations: 0.6228 MB / 0.5721 GB, free: 7.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.3717, allocations: 0.6417 MB / 0.5727 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002299/0.3719, allocations: 112 kB / 0.5729 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.3732, allocations: 323.8 kB / 0.5732 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003224/0.3735, allocations: 298.9 kB / 0.5734 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008053/0.3743, allocations: 0.5288 MB / 0.574 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002944/0.3772, allocations: 1.786 MB / 0.5757 GB, free: 4.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3772, allocations: 0 / 0.5757 GB, free: 4.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3773, allocations: 7.938 kB / 0.5757 GB, free: 4.293 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.288e-05/0.3773, allocations: 4 kB / 0.5757 GB, free: 4.289 MB / 414.1 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.007425/0.3847, allocations: 2.338 MB / 0.578 GB, free: 1.914 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.3847, allocations: 8.031 kB / 0.578 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002279/0.385, allocations: 202.7 kB / 0.5782 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009515/0.3945, allocations: 1.335 MB / 0.5795 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.3959, allocations: 0.5568 MB / 0.58 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-05/0.396, allocations: 95.02 kB / 0.5801 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.3962, allocations: 140.1 kB / 0.5803 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.3989, allocations: 1.591 MB / 0.5818 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.816e-05/0.3989, allocations: 7.891 kB / 0.5818 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.3991, allocations: 52 kB / 0.5819 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/0.3991, allocations: 36 kB / 0.5819 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002622/0.4017, allocations: 1.497 MB / 0.5834 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008034/0.4098, allocations: 4.442 MB / 0.5877 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.4118, allocations: 1.08 MB / 0.5888 GB, free: 6.625 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009716/0.4127, allocations: 0.5398 MB / 0.5893 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.4129, allocations: 36.97 kB / 0.5893 GB, free: 6.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.4129, allocations: 59.5 kB / 0.5894 GB, free: 5.973 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.337e-06/0.4129, allocations: 0 / 0.5894 GB, free: 5.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.00905/0.422, allocations: 2.998 MB / 0.5923 GB, free: 2.965 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.422, allocations: 90.11 kB / 0.5924 GB, free: 2.859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000596/0.4226, allocations: 477.8 kB / 0.5929 GB, free: 2.379 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.812e-05/0.4227, allocations: 45.7 kB / 0.5929 GB, free: 2.328 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/0.4231, allocations: 484.9 kB / 0.5934 GB, free: 1.848 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003525/0.4234, allocations: 440.1 kB / 0.5938 GB, free: 1.414 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003757/0.4238, allocations: 222.8 kB / 0.594 GB, free: 1.191 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.424, allocations: 378.8 kB / 0.5944 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009329/0.4249, allocations: 454.4 kB / 0.5948 GB, free: 376 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.4261, allocations: 0.7036 MB / 0.5955 GB, free: 15.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002128/0.4283, allocations: 1.202 MB / 0.5967 GB, free: 14.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.4283, allocations: 4 kB / 0.5967 GB, free: 14.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00312/0.4314, allocations: 1.575 MB / 0.5982 GB, free: 12.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.4314, allocations: 12 kB / 0.5982 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.4314, allocations: 11.98 kB / 0.5982 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/0.433, allocations: 0.524 MB / 0.5987 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008252/0.4338, allocations: 199.6 kB / 0.5989 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002105/0.434, allocations: 57.19 kB / 0.599 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007552/0.4348, allocations: 123.1 kB / 0.5991 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.888e-05/0.4349, allocations: 47.94 kB / 0.5991 GB, free: 11.71 MB / 446.1 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.0005099/0.4354, allocations: 273.5 kB / 0.5994 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.4356, allocations: 91.42 kB / 0.5995 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002921/0.4385, allocations: 1.544 MB / 0.601 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.4385, allocations: 15.94 kB / 0.601 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4385, allocations: 0 / 0.601 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.4385, allocations: 7.969 kB / 0.601 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004708/0.4432, allocations: 2.644 MB / 0.6036 GB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.4432, allocations: 4 kB / 0.6036 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006448/0.4439, allocations: 139.8 kB / 0.6037 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.4453, allocations: 0.5223 MB / 0.6042 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-05/0.4454, allocations: 28 kB / 0.6043 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003081/0.4457, allocations: 64.73 kB / 0.6043 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4457, allocations: 0 / 0.6043 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004076/0.4498, allocations: 2.325 MB / 0.6066 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005365/0.4503, allocations: 203.1 kB / 0.6068 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.4505, allocations: 23.94 kB / 0.6068 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005939/0.4511, allocations: 47.97 kB / 0.6069 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.4512, allocations: 77.16 kB / 0.6069 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.364e-05/0.4513, allocations: 39.98 kB / 0.607 GB, free: 3.574 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003795/0.4517, allocations: 314.9 kB / 0.6073 GB, free: 3.266 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4517, allocations: 4 kB / 0.6073 GB, free: 3.262 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000991/0.4527, allocations: 343.2 kB / 0.6076 GB, free: 2.926 MB / 446.1 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.004521/0.4572, allocations: 2.931 MB / 0.6105 GB, free: 15.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003/0.4602, allocations: 1.277 MB / 0.6117 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4602, allocations: 0 / 0.6117 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.462, allocations: 0.6919 MB / 0.6124 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008012/0.4628, allocations: 100 kB / 0.6125 GB, free: 13.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/0.4766, allocations: 8.389 MB / 0.6207 GB, free: 5.227 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/0.4772, allocations: 454.5 kB / 0.6211 GB, free: 4.746 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004695/0.4777, allocations: 110.8 kB / 0.6212 GB, free: 4.633 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/0.4782, allocations: 399.3 kB / 0.6216 GB, free: 4.242 MB / 462.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4782, allocations: 3.938 kB / 0.6216 GB, free: 4.238 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05991/0.5381, allocations: 21.51 MB / 0.6426 GB, free: 15 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/13.99, allocations: 0 / 0.6426 GB, free: 15 MB / 494.1 MB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/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: 17.115940580144525]