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.001396/0.001396, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001427/0.001427, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2184/0.2184, allocations: 44.91 MB / 358.8 MB, free: 6.293 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.002048/0.002048, allocations: 67.91 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3168, allocations: 65.48 MB / 0.557 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01017/0.327, allocations: 7.799 MB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005429/0.3324, allocations: 2.454 MB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.3335, allocations: 27.94 kB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004681/0.3382, allocations: 1.823 MB / 0.5689 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.3408, allocations: 0.7181 MB / 0.5696 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.3436, allocations: 1.081 MB / 0.5706 GB, free: 9.844 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002529/0.3462, allocations: 1.427 MB / 0.572 GB, free: 8.406 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/0.3478, allocations: 0.9262 MB / 0.5729 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.3489, allocations: 0.6228 MB / 0.5735 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.3499, allocations: 0.7275 MB / 0.5742 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002049/0.3501, allocations: 120 kB / 0.5743 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008124/0.3509, allocations: 335.8 kB / 0.5747 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002511/0.3512, allocations: 294.9 kB / 0.5749 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007025/0.3519, allocations: 0.653 MB / 0.5756 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.3544, allocations: 1.77 MB / 0.5773 GB, free: 2.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.3544, allocations: 3.984 kB / 0.5773 GB, free: 2.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3544, allocations: 3.938 kB / 0.5773 GB, free: 2.926 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.155e-05/0.3544, allocations: 3.938 kB / 0.5773 GB, free: 2.922 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.007917/0.3624, allocations: 2.338 MB / 0.5796 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3624, allocations: 8.031 kB / 0.5796 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000257/0.3626, allocations: 194.7 kB / 0.5798 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.3728, allocations: 1.335 MB / 0.5811 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.3742, allocations: 0.5528 MB / 0.5816 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.3743, allocations: 103 kB / 0.5817 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.3746, allocations: 132.1 kB / 0.5819 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002793/0.3774, allocations: 1.491 MB / 0.5833 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.515e-05/0.3774, allocations: 7.953 kB / 0.5833 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.3775, allocations: 52 kB / 0.5834 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/0.3776, allocations: 36 kB / 0.5834 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002831/0.3804, allocations: 1.517 MB / 0.5849 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008581/0.389, allocations: 5.053 MB / 0.5898 GB, free: 5.781 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.3911, allocations: 1.072 MB / 0.5909 GB, free: 4.711 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.3921, allocations: 0.5538 MB / 0.5914 GB, free: 4.148 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.3923, allocations: 44.94 kB / 0.5915 GB, free: 4.105 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/0.3923, allocations: 43.56 kB / 0.5915 GB, free: 4.051 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.286e-06/0.3923, allocations: 0 / 0.5915 GB, free: 4.051 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009737/0.4021, allocations: 3.006 MB / 0.5944 GB, free: 1.039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.4022, allocations: 94.11 kB / 0.5945 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006357/0.4028, allocations: 465.9 kB / 0.595 GB, free: 472 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.4029, allocations: 45.7 kB / 0.595 GB, free: 420 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/0.4033, allocations: 481.1 kB / 0.5955 GB, free: 15.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004782/0.4038, allocations: 448.1 kB / 0.5959 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000376/0.4042, allocations: 218.8 kB / 0.5961 GB, free: 15.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.4044, allocations: 382.8 kB / 0.5965 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009772/0.4054, allocations: 454.4 kB / 0.5969 GB, free: 14.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.4065, allocations: 0.6997 MB / 0.5976 GB, free: 13.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.4088, allocations: 1.213 MB / 0.5988 GB, free: 12.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.4088, allocations: 0 / 0.5988 GB, free: 12.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003419/0.4122, allocations: 1.578 MB / 0.6003 GB, free: 10.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.4122, allocations: 8 kB / 0.6003 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.4122, allocations: 8 kB / 0.6003 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/0.4139, allocations: 0.532 MB / 0.6009 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000822/0.4147, allocations: 195.7 kB / 0.601 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002195/0.4149, allocations: 61.12 kB / 0.6011 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007251/0.4157, allocations: 119.1 kB / 0.6012 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-05/0.4158, allocations: 55.94 kB / 0.6013 GB, free: 9.785 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.0005504/0.4163, allocations: 265.6 kB / 0.6015 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.4165, allocations: 83.48 kB / 0.6016 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/0.4195, allocations: 1.552 MB / 0.6031 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.4196, allocations: 12 kB / 0.6031 GB, free: 7.859 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4196, allocations: 0 / 0.6031 GB, free: 7.859 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.4196, allocations: 11.97 kB / 0.6031 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004955/0.4245, allocations: 2.812 MB / 0.6059 GB, free: 4.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.4246, allocations: 0 / 0.6059 GB, free: 4.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006969/0.4252, allocations: 147.8 kB / 0.606 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/0.4268, allocations: 0.5223 MB / 0.6065 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.432e-05/0.4269, allocations: 27.94 kB / 0.6066 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003247/0.4272, allocations: 72.72 kB / 0.6066 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4272, allocations: 0 / 0.6066 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004324/0.4316, allocations: 2.318 MB / 0.6089 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005247/0.4321, allocations: 203.1 kB / 0.6091 GB, free: 1.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.4322, allocations: 36 kB / 0.6091 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006191/0.4329, allocations: 43.97 kB / 0.6092 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.4331, allocations: 85.09 kB / 0.6092 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.389e-05/0.4332, allocations: 35.98 kB / 0.6093 GB, free: 1.465 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000418/0.4336, allocations: 310.9 kB / 0.6096 GB, free: 1.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4336, allocations: 0 / 0.6096 GB, free: 1.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001006/0.4346, allocations: 351.2 kB / 0.6099 GB, free: 0.8164 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.004907/0.4395, allocations: 2.924 MB / 0.6128 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003333/0.4428, allocations: 1.281 MB / 0.614 GB, free: 12.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.4428, allocations: 0 / 0.614 GB, free: 12.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001948/0.4448, allocations: 0.6843 MB / 0.6147 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007971/0.4456, allocations: 97.94 kB / 0.6148 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/0.4605, allocations: 8.385 MB / 0.623 GB, free: 3.125 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008052/0.4613, allocations: 1.044 MB / 0.624 GB, free: 2.055 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004936/0.4618, allocations: 106.8 kB / 0.6241 GB, free: 1.945 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005665/0.4623, allocations: 399.3 kB / 0.6245 GB, free: 1.555 MB / 462.1 MB Notification: Performance of SimCode: time 1.353e-06/0.4623, allocations: 0 / 0.6245 GB, free: 1.555 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06342/0.5258, allocations: 23.26 MB / 0.6472 GB, free: 10.49 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/14.83, allocations: 13.67 kB / 0.6472 GB, free: 10.48 MB / 494.1 MB " [Timeout remaining time 645] (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.94214238299901]