Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.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.001339/0.001339, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002352/0.002352, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.548/1.548, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2239/0.2239, allocations: 44.9 MB / 355.1 MB, free: 12.36 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.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",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.001916/0.001916, allocations: 71.88 kB / 499.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1274, allocations: 65.42 MB / 0.5517 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004055/0.1315, allocations: 2.596 MB / 0.5543 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1327, allocations: 0.6777 MB / 0.5549 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.1329, allocations: 4 kB / 0.5549 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.133, allocations: 39.58 kB / 0.555 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.1332, allocations: 71.36 kB / 0.555 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1335, allocations: 87.81 kB / 0.5551 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003604/0.1338, allocations: 286.8 kB / 0.5554 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.134, allocations: 80.58 kB / 0.5555 GB, free: 6.352 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.1342, allocations: 119.6 kB / 0.5556 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.1344, allocations: 123.5 kB / 0.5557 GB, free: 6.113 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.1345, allocations: 20 kB / 0.5557 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.769e-05/0.1345, allocations: 31.94 kB / 0.5557 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.1346, allocations: 43.84 kB / 0.5558 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.1347, allocations: 127.4 kB / 0.5559 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.1351, allocations: 294.8 kB / 0.5562 GB, free: 5.605 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1351, allocations: 0 / 0.5562 GB, free: 5.605 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1351, allocations: 0 / 0.5562 GB, free: 5.605 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1351, allocations: 0 / 0.5562 GB, free: 5.605 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.000922/0.136, allocations: 0.5454 MB / 0.5567 GB, free: 5.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.1361, allocations: 12.03 kB / 0.5567 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.839e-05/0.1362, allocations: 54.73 kB / 0.5568 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.1363, allocations: 36.78 kB / 0.5568 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.1367, allocations: 255.9 kB / 0.5571 GB, free: 4.609 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.1368, allocations: 16.81 kB / 0.5571 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.1368, allocations: 20.38 kB / 0.5571 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.1372, allocations: 191.4 kB / 0.5573 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1372, allocations: 0 / 0.5573 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.1372, allocations: 12 kB / 0.5573 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1372, allocations: 8 kB / 0.5573 GB, free: 4.359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.1375, allocations: 141.6 kB / 0.5574 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.139, allocations: 0.8066 MB / 0.5582 GB, free: 3.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.1392, allocations: 98.42 kB / 0.5583 GB, free: 3.234 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.1393, allocations: 40.84 kB / 0.5584 GB, free: 3.191 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.1393, allocations: 3.984 kB / 0.5584 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.1393, allocations: 46.69 kB / 0.5584 GB, free: 3.133 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1393, allocations: 0 / 0.5584 GB, free: 3.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001951/0.1413, allocations: 0.7177 MB / 0.5591 GB, free: 2.355 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.1413, allocations: 59.34 kB / 0.5592 GB, free: 2.285 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.1416, allocations: 208 kB / 0.5594 GB, free: 2.074 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.1416, allocations: 29.7 kB / 0.5594 GB, free: 2.039 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.1418, allocations: 176.1 kB / 0.5596 GB, free: 1.859 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/0.1418, allocations: 55.53 kB / 0.5596 GB, free: 1.805 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.627e-05/0.1419, allocations: 45.66 kB / 0.5597 GB, free: 1.754 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.1421, allocations: 334.8 kB / 0.56 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.1423, allocations: 59.97 kB / 0.56 GB, free: 1.359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.1425, allocations: 103.3 kB / 0.5601 GB, free: 1.242 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.1428, allocations: 174.6 kB / 0.5603 GB, free: 1.055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1428, allocations: 4 kB / 0.5603 GB, free: 1.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005716/0.1434, allocations: 274.9 kB / 0.5606 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1434, allocations: 8 kB / 0.5606 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1434, allocations: 0 / 0.5606 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002603/0.1437, allocations: 73.77 kB / 0.5606 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.1438, allocations: 35.97 kB / 0.5607 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/0.1468, allocations: 3.017 MB / 0.5636 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.147, allocations: 11.98 kB / 0.5636 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.147, allocations: 4 kB / 0.5636 GB, free: 13.33 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001837/0.1472, allocations: 145.8 kB / 0.5638 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.1472, allocations: 19.91 kB / 0.5638 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.1473, allocations: 22.52 kB / 0.5638 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1473, allocations: 0 / 0.5638 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.1473, allocations: 4 kB / 0.5638 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1473, allocations: 0 / 0.5638 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.1477, allocations: 289.4 kB / 0.5641 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1477, allocations: 0 / 0.5641 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-05/0.1478, allocations: 19.92 kB / 0.5641 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002206/0.148, allocations: 77.61 kB / 0.5642 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.148, allocations: 8 kB / 0.5642 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002845/0.1508, allocations: 3.009 MB / 0.5671 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1508, allocations: 0 / 0.5671 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007209/0.1516, allocations: 406.7 kB / 0.5675 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.336e-05/0.1516, allocations: 92.97 kB / 0.5676 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.1517, allocations: 4 kB / 0.5676 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.1519, allocations: 15.98 kB / 0.5676 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.1519, allocations: 15.97 kB / 0.5676 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.1519, allocations: 4 kB / 0.5676 GB, free: 8.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.1521, allocations: 152.6 kB / 0.5678 GB, free: 8.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1521, allocations: 4.062 kB / 0.5678 GB, free: 8.688 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003867/0.1525, allocations: 64 kB / 0.5679 GB, free: 8.625 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00102/0.1535, allocations: 0.9247 MB / 0.5688 GB, free: 7.664 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000755/0.1543, allocations: 396.5 kB / 0.5691 GB, free: 7.254 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/0.1543, allocations: 4.375 kB / 0.5691 GB, free: 7.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004712/0.1547, allocations: 321.3 kB / 0.5695 GB, free: 6.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.1551, allocations: 29.95 kB / 0.5695 GB, free: 6.883 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.1587, allocations: 2.489 MB / 0.5719 GB, free: 4.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.1591, allocations: 0.7518 MB / 0.5726 GB, free: 3.488 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.633e-05/0.1592, allocations: 21.94 kB / 0.5727 GB, free: 3.465 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.1593, allocations: 67.41 kB / 0.5727 GB, free: 3.398 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1593, allocations: 0 / 0.5727 GB, free: 3.398 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/0.1954, allocations: 5.055 MB / 0.5777 GB, free: 14.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.35, allocations: 6.859 kB / 0.5777 GB, free: 14.47 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable basicTransformer.i2 in file ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.csv. Warning: Get data of variable basicTransformer.i2 from file ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.597642390057445]