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.001306/0.001306, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001464/0.001464, allocations: 214.1 kB / 22.99 MB, free: 4.977 MB / 14.72 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 1.445/1.445, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.2184/0.2184, allocations: 44.27 MB / 330.3 MB, free: 9.309 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002291/0.002291, allocations: 79.88 kB / 467.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1377, allocations: 61.05 MB / 0.5162 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01696/0.1546, allocations: 6.786 MB / 0.5228 GB, free: 372 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008725/0.1634, allocations: 2.264 MB / 0.525 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.1645, allocations: 27.94 kB / 0.525 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007561/0.172, allocations: 1.692 MB / 0.5267 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00432/0.1763, allocations: 0.7262 MB / 0.5274 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004997/0.1813, allocations: 1.028 MB / 0.5284 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003021/0.1844, allocations: 1.44 MB / 0.5298 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00234/0.1867, allocations: 0.9184 MB / 0.5307 GB, free: 8.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.188, allocations: 0.6267 MB / 0.5313 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.1895, allocations: 0.665 MB / 0.532 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002961/0.1898, allocations: 116 kB / 0.5321 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.191, allocations: 315.8 kB / 0.5324 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000399/0.1914, allocations: 310.8 kB / 0.5327 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008487/0.1923, allocations: 0.5404 MB / 0.5332 GB, free: 5.645 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003148/0.1954, allocations: 1.798 MB / 0.5349 GB, free: 3.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1954, allocations: 0 / 0.5349 GB, free: 3.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1954, allocations: 0 / 0.5349 GB, free: 3.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.1955, allocations: 0 / 0.5349 GB, free: 3.84 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.01517/0.2106, allocations: 2.366 MB / 0.5373 GB, free: 1.438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.2107, allocations: 8.031 kB / 0.5373 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005097/0.2112, allocations: 199 kB / 0.5375 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2294/0.4406, allocations: 1.504 MB / 0.5389 GB, free: 28.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.442, allocations: 0.5596 MB / 0.5395 GB, free: 27.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.4421, allocations: 102.1 kB / 0.5396 GB, free: 27.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/0.4423, allocations: 132.6 kB / 0.5397 GB, free: 27.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.445, allocations: 1.632 MB / 0.5413 GB, free: 27.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.363e-05/0.445, allocations: 13.55 kB / 0.5413 GB, free: 27.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.4452, allocations: 53.81 kB / 0.5413 GB, free: 27.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.4452, allocations: 34.3 kB / 0.5414 GB, free: 27.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002556/0.4478, allocations: 1.566 MB / 0.5429 GB, free: 27.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007515/0.4553, allocations: 4.49 MB / 0.5473 GB, free: 24.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.4572, allocations: 1.091 MB / 0.5484 GB, free: 23.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008618/0.4581, allocations: 0.5566 MB / 0.5489 GB, free: 23.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.862e-05/0.4582, allocations: 21.66 kB / 0.5489 GB, free: 23.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.4582, allocations: 51.5 kB / 0.549 GB, free: 23.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.707e-06/0.4582, allocations: 0 / 0.549 GB, free: 23.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.009062/0.4673, allocations: 3.061 MB / 0.552 GB, free: 22.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.4673, allocations: 95.81 kB / 0.5521 GB, free: 22.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006188/0.4679, allocations: 498.4 kB / 0.5525 GB, free: 22.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.267e-05/0.468, allocations: 46.08 kB / 0.5526 GB, free: 22.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.4682, allocations: 0.494 MB / 0.5531 GB, free: 22.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/0.4685, allocations: 453 kB / 0.5535 GB, free: 21.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/0.4688, allocations: 225.3 kB / 0.5537 GB, free: 21.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4689, allocations: 384.5 kB / 0.5541 GB, free: 21.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007933/0.4697, allocations: 466.5 kB / 0.5545 GB, free: 21.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008998/0.4706, allocations: 0.7433 MB / 0.5552 GB, free: 20.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.4723, allocations: 1.267 MB / 0.5565 GB, free: 19.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.4724, allocations: 1.281 kB / 0.5565 GB, free: 19.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002905/0.4753, allocations: 1.642 MB / 0.5581 GB, free: 19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.4753, allocations: 8.25 kB / 0.5581 GB, free: 19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/0.4753, allocations: 8.469 kB / 0.5581 GB, free: 19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/0.4769, allocations: 0.527 MB / 0.5586 GB, free: 18.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/0.4777, allocations: 217.6 kB / 0.5588 GB, free: 18.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002135/0.4779, allocations: 66.03 kB / 0.5589 GB, free: 18.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007336/0.4787, allocations: 131.6 kB / 0.559 GB, free: 18.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.053e-05/0.4788, allocations: 54.44 kB / 0.5591 GB, free: 18.69 MB / 414.1 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.000451/0.4792, allocations: 271.4 kB / 0.5593 GB, free: 18.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.4794, allocations: 85.41 kB / 0.5594 GB, free: 18.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002824/0.4822, allocations: 1.561 MB / 0.5609 GB, free: 17.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.4822, allocations: 19.05 kB / 0.5609 GB, free: 17.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4822, allocations: 0.6094 kB / 0.5609 GB, free: 17.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.4822, allocations: 7.078 kB / 0.561 GB, free: 17.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004278/0.4865, allocations: 2.664 MB / 0.5636 GB, free: 16.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4865, allocations: 3.938 kB / 0.5636 GB, free: 16.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006176/0.4871, allocations: 147.5 kB / 0.5637 GB, free: 16.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001438/0.4886, allocations: 0.5192 MB / 0.5642 GB, free: 16.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.578e-05/0.4887, allocations: 28.25 kB / 0.5642 GB, free: 16.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.545e-05/0.4888, allocations: 24.61 kB / 0.5643 GB, free: 16.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4888, allocations: 1.125 kB / 0.5643 GB, free: 16.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/0.4923, allocations: 2.277 MB / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004967/0.4928, allocations: 222.2 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.4929, allocations: 22.52 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000589/0.4935, allocations: 44.56 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.4937, allocations: 80.61 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.4937, allocations: 39.05 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003635/0.4941, allocations: 321.4 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4941, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001001/0.4951, allocations: 349.5 kB / 0.5675 GB, free: 14.55 MB / 414.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 (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.003826/0.4989, allocations: 2.884 MB / 0.5703 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002892/0.5018, allocations: 1.3 MB / 0.5716 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.5018, allocations: 1.25 kB / 0.5716 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001669/0.5035, allocations: 0.682 MB / 0.5723 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/0.5044, allocations: 103.8 kB / 0.5724 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.5156, allocations: 8.632 MB / 0.5808 GB, free: 6.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.516, allocations: 463.3 kB / 0.5812 GB, free: 6.145 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000488/0.5165, allocations: 115 kB / 0.5813 GB, free: 6.027 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/0.5169, allocations: 403.3 kB / 0.5817 GB, free: 5.633 MB / 414.1 MB Notification: Performance of SimCode: time 1.443e-06/0.5169, allocations: 0 / 0.5817 GB, free: 5.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05682/0.5737, allocations: 21.59 MB / 0.6028 GB, free: 48 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.38, allocations: 7.859 kB / 0.6028 GB, free: 40 kB / 430.1 MB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/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: 17.559465922880918]