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.001639/0.001639, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001725/0.001725, allocations: 208.2 kB / 23.73 MB, free: 4.387 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.2275/0.2275, allocations: 46.96 MB / 360.9 MB, free: 4.012 MB / 286.1 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 0.002398/0.002398, allocations: 64.09 kB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3461, allocations: 66.04 MB / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008846/0.355, allocations: 6.802 MB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005252/0.3602, allocations: 2.291 MB / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.3614, allocations: 31.94 kB / 0.5695 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00465/0.366, allocations: 1.687 MB / 0.5712 GB, free: 9.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002488/0.3685, allocations: 0.7064 MB / 0.5718 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.3711, allocations: 1.043 MB / 0.5729 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001994/0.373, allocations: 1.413 MB / 0.5742 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.3744, allocations: 0.9105 MB / 0.5751 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008129/0.3753, allocations: 0.6228 MB / 0.5757 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008108/0.3761, allocations: 0.6495 MB / 0.5764 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.3762, allocations: 112 kB / 0.5765 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008088/0.3771, allocations: 315.8 kB / 0.5768 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002722/0.3773, allocations: 306.9 kB / 0.5771 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005618/0.3779, allocations: 0.5326 MB / 0.5776 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002491/0.3804, allocations: 1.782 MB / 0.5793 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3804, allocations: 0 / 0.5793 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3804, allocations: 4 kB / 0.5793 GB, free: 0.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.79e-05/0.3804, allocations: 0 / 0.5793 GB, free: 0.918 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.007758/0.3882, allocations: 2.346 MB / 0.5816 GB, free: 14.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.3882, allocations: 8.031 kB / 0.5816 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002479/0.3885, allocations: 194.7 kB / 0.5818 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009702/0.3982, allocations: 1.323 MB / 0.5831 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.3997, allocations: 0.5607 MB / 0.5837 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.946e-05/0.3998, allocations: 99.02 kB / 0.5838 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.4001, allocations: 136.1 kB / 0.5839 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003019/0.4031, allocations: 1.587 MB / 0.5854 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.173e-05/0.4031, allocations: 7.953 kB / 0.5854 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.4033, allocations: 56 kB / 0.5855 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.732e-05/0.4033, allocations: 35.98 kB / 0.5855 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002674/0.406, allocations: 1.505 MB / 0.587 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008106/0.4141, allocations: 4.442 MB / 0.5913 GB, free: 4.328 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.4161, allocations: 1.076 MB / 0.5924 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009951/0.4171, allocations: 0.5421 MB / 0.5929 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.4172, allocations: 40.95 kB / 0.593 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.4173, allocations: 55.55 kB / 0.593 GB, free: 2.605 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.737e-06/0.4173, allocations: 0 / 0.593 GB, free: 2.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009169/0.4264, allocations: 2.998 MB / 0.5959 GB, free: 15.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.4265, allocations: 98.05 kB / 0.596 GB, free: 15.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006071/0.4271, allocations: 477.8 kB / 0.5965 GB, free: 15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.102e-05/0.4272, allocations: 45.7 kB / 0.5965 GB, free: 14.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.4275, allocations: 480.9 kB / 0.597 GB, free: 14.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000367/0.4279, allocations: 448.1 kB / 0.5974 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003456/0.4282, allocations: 218.8 kB / 0.5976 GB, free: 13.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.4284, allocations: 382.8 kB / 0.598 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008638/0.4293, allocations: 462.4 kB / 0.5984 GB, free: 12.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.4304, allocations: 0.6919 MB / 0.5991 GB, free: 12.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/0.4324, allocations: 1.206 MB / 0.6003 GB, free: 10.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.4324, allocations: 0 / 0.6003 GB, free: 10.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003033/0.4354, allocations: 1.574 MB / 0.6018 GB, free: 9.316 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.4354, allocations: 11.94 kB / 0.6018 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.4355, allocations: 8 kB / 0.6018 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/0.437, allocations: 0.5242 MB / 0.6024 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007938/0.4378, allocations: 199.7 kB / 0.6025 GB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002071/0.438, allocations: 57.14 kB / 0.6026 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007342/0.4388, allocations: 127.1 kB / 0.6027 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.502e-05/0.4388, allocations: 51.98 kB / 0.6028 GB, free: 8.34 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.0005126/0.4394, allocations: 265.6 kB / 0.603 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.4395, allocations: 87.44 kB / 0.6031 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/0.4424, allocations: 1.544 MB / 0.6046 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.4425, allocations: 15.94 kB / 0.6046 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4425, allocations: 0 / 0.6046 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.4425, allocations: 3.984 kB / 0.6046 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004574/0.447, allocations: 2.644 MB / 0.6072 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.4471, allocations: 0 / 0.6072 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006349/0.4477, allocations: 139.8 kB / 0.6073 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.4491, allocations: 0.5223 MB / 0.6079 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.42e-05/0.4492, allocations: 27.98 kB / 0.6079 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003108/0.4495, allocations: 76.67 kB / 0.608 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4495, allocations: 0 / 0.608 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004034/0.4536, allocations: 2.31 MB / 0.6102 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/0.4541, allocations: 207.1 kB / 0.6104 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.4542, allocations: 23.94 kB / 0.6104 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.4548, allocations: 52.03 kB / 0.6105 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.4549, allocations: 81.09 kB / 0.6106 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.559e-05/0.455, allocations: 36 kB / 0.6106 GB, free: 216 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003863/0.4554, allocations: 310.9 kB / 0.6109 GB, free: 15.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4554, allocations: 0 / 0.6109 GB, free: 15.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009175/0.4563, allocations: 351.2 kB / 0.6112 GB, free: 15.56 MB / 462.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.004529/0.4608, allocations: 2.938 MB / 0.6141 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002976/0.4638, allocations: 1.272 MB / 0.6153 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.4638, allocations: 0 / 0.6153 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.4656, allocations: 0.6929 MB / 0.616 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008544/0.4665, allocations: 93.94 kB / 0.6161 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.4813, allocations: 8.393 MB / 0.6243 GB, free: 1.859 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006824/0.482, allocations: 450.5 kB / 0.6247 GB, free: 1.383 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005213/0.4825, allocations: 114.8 kB / 0.6248 GB, free: 1.266 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005787/0.4831, allocations: 387.3 kB / 0.6252 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4831, allocations: 0 / 0.6252 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06049/0.5436, allocations: 21.52 MB / 0.6462 GB, free: 11.64 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/14.05, allocations: 2.812 kB / 0.6462 GB, free: 11.64 MB / 494.1 MB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/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: 17.245648656971753]