Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009919/0.0009919, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.001035/0.001035, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.949/0.949, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1391/0.1391, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.156e-05, allocations: 6.078 kB / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.005351/0.005373, allocations: 6.798 MB / 413.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003653/0.009026, allocations: 2.259 MB / 415.9 MB, free: 9.141 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006046/0.009631, allocations: 27.94 kB / 415.9 MB, free: 9.113 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.01159, allocations: 1.788 MB / 417.7 MB, free: 7.316 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.01298, allocations: 0.7454 MB / 418.5 MB, free: 6.566 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.01426, allocations: 1.024 MB / 419.5 MB, free: 5.539 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001334/0.01559, allocations: 1.49 MB / 421 MB, free: 4.043 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.01664, allocations: 0.9339 MB / 421.9 MB, free: 3.086 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008774/0.01752, allocations: 0.8652 MB / 422.8 MB, free: 2.219 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005684/0.01809, allocations: 0.5765 MB / 423.3 MB, free: 1.641 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.01824, allocations: 120 kB / 423.5 MB, free: 1.523 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005349/0.01878, allocations: 315.6 kB / 423.8 MB, free: 1.215 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002826/0.01906, allocations: 314.7 kB / 424.1 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003143/0.01938, allocations: 470.8 kB / 424.5 MB, free: 456 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.02078, allocations: 1.818 MB / 426.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.02079, allocations: 4 kB / 426.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.02079, allocations: 0 / 426.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.747e-05/0.02081, allocations: 0 / 426.4 MB, free: 14.62 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.004278/0.02509, allocations: 2.346 MB / 428.7 MB, free: 12.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.02513, allocations: 12.03 kB / 428.7 MB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.0253, allocations: 199 kB / 428.9 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004871/0.03017, allocations: 1.499 MB / 430.4 MB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008151/0.03098, allocations: 0.5716 MB / 431 MB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.758e-05/0.03104, allocations: 103.1 kB / 431.1 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.03118, allocations: 136.3 kB / 431.2 MB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.03288, allocations: 1.62 MB / 432.8 MB, free: 7.992 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.03291, allocations: 11.89 kB / 432.9 MB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-05/0.033, allocations: 63.92 kB / 432.9 MB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.03302, allocations: 39.98 kB / 433 MB, free: 7.879 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.03478, allocations: 1.556 MB / 434.5 MB, free: 6.316 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005464/0.04024, allocations: 4.495 MB / 439 MB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.04153, allocations: 1.104 MB / 440.1 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/0.04215, allocations: 0.5554 MB / 440.7 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.871e-05/0.04225, allocations: 28.98 kB / 440.7 MB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.04228, allocations: 47.5 kB / 440.7 MB, free: 15.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=129): time 2.515e-06/0.04228, allocations: 4 kB / 440.7 MB, free: 15.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=129): time 0.005596/0.04788, allocations: 3.068 MB / 443.8 MB, free: 12.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.04792, allocations: 94.11 kB / 443.9 MB, free: 12.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.04829, allocations: 485.9 kB / 444.4 MB, free: 12.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/0.04835, allocations: 45.7 kB / 444.4 MB, free: 12.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.04856, allocations: 0.489 MB / 444.9 MB, free: 11.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.04878, allocations: 452.1 kB / 445.4 MB, free: 11.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.04901, allocations: 222.8 kB / 445.6 MB, free: 11.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.04914, allocations: 382.8 kB / 445.9 MB, free: 10.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005533/0.04969, allocations: 467.1 kB / 446.4 MB, free: 10.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000662/0.05036, allocations: 0.7481 MB / 447.1 MB, free: 9.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.05162, allocations: 1.259 MB / 448.4 MB, free: 7.969 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.05162, allocations: 0 / 448.4 MB, free: 7.969 MB / 426.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002095/0.05372, allocations: 1.647 MB / 450.1 MB, free: 6.312 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.05374, allocations: 12.03 kB / 450.1 MB, free: 6.301 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.05375, allocations: 8 kB / 450.1 MB, free: 6.293 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008907/0.05464, allocations: 0.5288 MB / 450.6 MB, free: 5.762 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.05505, allocations: 219.6 kB / 450.8 MB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001012/0.05515, allocations: 53.27 kB / 450.9 MB, free: 5.492 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/0.0555, allocations: 135 kB / 451 MB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.05555, allocations: 55.98 kB / 451.1 MB, free: 5.305 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (120): * Single equations (assignments): 119 * 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.000275/0.05583, allocations: 269.5 kB / 451.3 MB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.87e-05/0.05592, allocations: 91.48 kB / 451.4 MB, free: 4.941 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/0.05761, allocations: 1.56 MB / 453 MB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.05762, allocations: 16 kB / 453 MB, free: 3.348 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.05762, allocations: 0 / 453 MB, free: 3.348 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.05763, allocations: 3.984 kB / 453 MB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.06042, allocations: 2.652 MB / 455.6 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.06043, allocations: 3.938 kB / 455.6 MB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.06073, allocations: 143.8 kB / 455.8 MB, free: 496 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/0.06184, allocations: 0.5233 MB / 456.3 MB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.619e-05/0.0619, allocations: 24 kB / 456.3 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.134e-05/0.06195, allocations: 32.78 kB / 456.4 MB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.06195, allocations: 0 / 456.4 MB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/0.06427, allocations: 2.279 MB / 458.6 MB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.06454, allocations: 215 kB / 458.9 MB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.496e-05/0.0646, allocations: 24 kB / 458.9 MB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.06487, allocations: 48.03 kB / 458.9 MB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.06499, allocations: 81.16 kB / 459 MB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.06503, allocations: 35.94 kB / 459 MB, free: 13.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002307/0.06526, allocations: 322.9 kB / 459.4 MB, free: 12.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.06526, allocations: 0 / 459.4 MB, free: 12.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006148/0.06587, allocations: 347.3 kB / 459.7 MB, free: 12.55 MB / 442.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 (86): * Single equations (assignments): 85 * 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.002652/0.06852, allocations: 2.897 MB / 462.6 MB, free: 9.621 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.07043, allocations: 1.291 MB / 463.9 MB, free: 8.332 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.07043, allocations: 0 / 463.9 MB, free: 8.332 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008767/0.0713, allocations: 0.6919 MB / 464.6 MB, free: 7.645 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.07174, allocations: 94.22 kB / 464.7 MB, free: 7.555 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1585/0.2303, allocations: 8.615 MB / 473.3 MB, free: 99.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.2305, allocations: 465.4 kB / 473.7 MB, free: 98.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003618/0.2309, allocations: 112.7 kB / 473.8 MB, free: 98.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.2312, allocations: 403.1 kB / 474.2 MB, free: 98.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2312, allocations: 0 / 474.2 MB, free: 98.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03583/0.267, allocations: 21.68 MB / 495.9 MB, free: 95.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.405/8.672, allocations: 7.938 kB / 495.9 MB, free: 95.95 MB / 442.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv. Warning: Get data of variable I.re from file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv failed! Error: Could not read variable I.im in file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv. Warning: Get data of variable I.im from file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.946019667200744]