Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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.001433/0.001433, allocations: 123.4 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.001367/0.001367, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.493/1.493, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2307/0.2307, allocations: 46.92 MB / 357.1 MB, free: 10.38 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.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 59.91 kB / 0.4909 GB, free: 8.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1336, allocations: 65.99 MB / 0.5553 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.00435/0.138, allocations: 2.6 MB / 0.5579 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.1394, allocations: 0.6661 MB / 0.5585 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.1396, allocations: 11.88 kB / 0.5585 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.1398, allocations: 35.64 kB / 0.5586 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.1399, allocations: 79.33 kB / 0.5587 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.1403, allocations: 79.84 kB / 0.5587 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.1406, allocations: 290.8 kB / 0.559 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.1408, allocations: 76.31 kB / 0.5591 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.1411, allocations: 123.6 kB / 0.5592 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.1413, allocations: 115.5 kB / 0.5593 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.1413, allocations: 28 kB / 0.5593 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.036e-05/0.1414, allocations: 24 kB / 0.5594 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.1415, allocations: 51.83 kB / 0.5594 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.1416, allocations: 127.4 kB / 0.5595 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.142, allocations: 294.8 kB / 0.5598 GB, free: 1.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.142, allocations: 3.938 kB / 0.5598 GB, free: 1.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.142, allocations: 0 / 0.5598 GB, free: 1.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.142, allocations: 0 / 0.5598 GB, free: 1.316 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.0009349/0.1429, allocations: 0.5416 MB / 0.5603 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.143, allocations: 12.02 kB / 0.5604 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.97e-05/0.1431, allocations: 54.73 kB / 0.5604 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.1432, allocations: 40.72 kB / 0.5604 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005126/0.1437, allocations: 259.9 kB / 0.5607 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1438, allocations: 12.81 kB / 0.5607 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.1438, allocations: 20.38 kB / 0.5607 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.1442, allocations: 195.4 kB / 0.5609 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1442, allocations: 0 / 0.5609 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.1442, allocations: 8 kB / 0.5609 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.1442, allocations: 11.98 kB / 0.5609 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.1445, allocations: 141.6 kB / 0.5611 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.1459, allocations: 0.7988 MB / 0.5618 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.1461, allocations: 102.4 kB / 0.5619 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.811e-05/0.1462, allocations: 40.84 kB / 0.562 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.1462, allocations: 0 / 0.562 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.1462, allocations: 38.55 kB / 0.562 GB, free: 14.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.1462, allocations: 4 kB / 0.562 GB, free: 14.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.002015/0.1483, allocations: 0.7218 MB / 0.5627 GB, free: 14.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.1483, allocations: 55.41 kB / 0.5628 GB, free: 14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.1486, allocations: 207 kB / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.1486, allocations: 37.69 kB / 0.563 GB, free: 13.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.1487, allocations: 168.1 kB / 0.5632 GB, free: 13.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.1488, allocations: 55.58 kB / 0.5632 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/0.1489, allocations: 37.67 kB / 0.5633 GB, free: 13.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.149, allocations: 334.8 kB / 0.5636 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.1492, allocations: 63.97 kB / 0.5636 GB, free: 13.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.1494, allocations: 109 kB / 0.5637 GB, free: 12.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.1497, allocations: 170.3 kB / 0.5639 GB, free: 12.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1497, allocations: 0 / 0.5639 GB, free: 12.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005928/0.1503, allocations: 284.3 kB / 0.5642 GB, free: 12.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.1504, allocations: 5.875 kB / 0.5642 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.1504, allocations: 4 kB / 0.5642 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003331/0.1507, allocations: 69.67 kB / 0.5643 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.1509, allocations: 31.92 kB / 0.5643 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002845/0.1537, allocations: 3.03 MB / 0.5672 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.1539, allocations: 8.188 kB / 0.5673 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.1539, allocations: 4.062 kB / 0.5673 GB, free: 9.047 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.0001701/0.1541, allocations: 153.7 kB / 0.5674 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.1541, allocations: 15.91 kB / 0.5674 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.583e-05/0.1542, allocations: 25.86 kB / 0.5674 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1542, allocations: 4 kB / 0.5674 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1542, allocations: 0 / 0.5674 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1542, allocations: 0 / 0.5674 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.1545, allocations: 285.5 kB / 0.5677 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1545, allocations: 4 kB / 0.5677 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.722e-05/0.1546, allocations: 19.92 kB / 0.5677 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002058/0.1548, allocations: 65.67 kB / 0.5678 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.1548, allocations: 4 kB / 0.5678 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002612/0.1575, allocations: 3.017 MB / 0.5708 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1575, allocations: 0 / 0.5708 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/0.1582, allocations: 399.2 kB / 0.5711 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.1583, allocations: 97.64 kB / 0.5712 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.1583, allocations: 8 kB / 0.5712 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.1585, allocations: 11.98 kB / 0.5712 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.1585, allocations: 20.05 kB / 0.5713 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.1585, allocations: 4 kB / 0.5713 GB, free: 4.555 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1587, allocations: 156.6 kB / 0.5714 GB, free: 4.402 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1587, allocations: 0 / 0.5714 GB, free: 4.402 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004134/0.1591, allocations: 67.94 kB / 0.5715 GB, free: 4.336 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.000983/0.1601, allocations: 0.917 MB / 0.5724 GB, free: 3.383 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007228/0.1608, allocations: 401.2 kB / 0.5728 GB, free: 2.965 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1608, allocations: 0 / 0.5728 GB, free: 2.965 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004627/0.1613, allocations: 329.2 kB / 0.5731 GB, free: 2.617 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.1616, allocations: 30.69 kB / 0.5731 GB, free: 2.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/0.1652, allocations: 2.483 MB / 0.5755 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.1656, allocations: 0.7479 MB / 0.5763 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.895e-05/0.1657, allocations: 17.95 kB / 0.5763 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.1658, allocations: 67.41 kB / 0.5763 GB, free: 15.12 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1658, allocations: 0 / 0.5763 GB, free: 15.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/0.2034, allocations: 5.05 MB / 0.5813 GB, free: 10.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.32, allocations: 19.06 kB / 0.5813 GB, free: 10.18 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_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_1_0_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.csv failed! Error: Could not read variable basicTransformer.i2 in file ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.csv. Warning: Get data of variable basicTransformer.i2 from file ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.696281905999058]