Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001743/0.001743, allocations: 114.4 kB / 19.69 MB, free: 2.188 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.00196/0.00196, allocations: 215.2 kB / 23 MB, free: 5.004 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.413/1.413, allocations: 207.6 MB / 233.8 MB, free: 10.01 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.2229/0.2229, allocations: 44.24 MB / 330.3 MB, free: 9.516 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.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",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.002194/0.002194, allocations: 75.84 kB / 467.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1238, allocations: 61.05 MB / 0.5161 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003905/0.1277, allocations: 2.548 MB / 0.5186 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.1289, allocations: 0.6514 MB / 0.5193 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.1291, allocations: 4 kB / 0.5193 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.1292, allocations: 39.58 kB / 0.5193 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.1294, allocations: 71.34 kB / 0.5194 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.1296, allocations: 75.89 kB / 0.5194 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.13, allocations: 294.6 kB / 0.5197 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.1301, allocations: 72.98 kB / 0.5198 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.1303, allocations: 111.6 kB / 0.5199 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.1305, allocations: 119.5 kB / 0.52 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/0.1306, allocations: 24 kB / 0.52 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.081e-05/0.1306, allocations: 20 kB / 0.5201 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.963e-05/0.1307, allocations: 51.84 kB / 0.5201 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.1308, allocations: 131.4 kB / 0.5202 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.1312, allocations: 274.9 kB / 0.5205 GB, free: 2.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.1312, allocations: 4 kB / 0.5205 GB, free: 2.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1312, allocations: 0 / 0.5205 GB, free: 2.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1312, allocations: 0 / 0.5205 GB, free: 2.844 MB / 398.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.0009049/0.1321, allocations: 473.5 kB / 0.5209 GB, free: 2.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.1322, allocations: 16.02 kB / 0.521 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.897e-05/0.1323, allocations: 54.73 kB / 0.521 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.599e-05/0.1323, allocations: 32.8 kB / 0.521 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.1328, allocations: 187.1 kB / 0.5212 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1328, allocations: 12.81 kB / 0.5212 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.1328, allocations: 20.38 kB / 0.5213 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.1332, allocations: 195.4 kB / 0.5214 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1332, allocations: 0 / 0.5214 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.1333, allocations: 8 kB / 0.5214 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1333, allocations: 4 kB / 0.5214 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.1335, allocations: 153.6 kB / 0.5216 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.1348, allocations: 0.7601 MB / 0.5223 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.135, allocations: 98.42 kB / 0.5224 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.249e-05/0.1351, allocations: 40.84 kB / 0.5225 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.1352, allocations: 4 kB / 0.5225 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1352, allocations: 34.56 kB / 0.5225 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.1352, allocations: 0 / 0.5225 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.00178/0.137, allocations: 0.6388 MB / 0.5231 GB, free: 15.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.137, allocations: 59.41 kB / 0.5232 GB, free: 15.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.1372, allocations: 215.7 kB / 0.5234 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1373, allocations: 25.7 kB / 0.5234 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.1374, allocations: 168.2 kB / 0.5236 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.1374, allocations: 63.53 kB / 0.5236 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.016e-05/0.1375, allocations: 45.66 kB / 0.5237 GB, free: 15.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.1377, allocations: 326.8 kB / 0.524 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1378, allocations: 59.97 kB / 0.5241 GB, free: 14.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.138, allocations: 105.1 kB / 0.5242 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.1383, allocations: 184.9 kB / 0.5243 GB, free: 14.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1383, allocations: 0 / 0.5243 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005152/0.1388, allocations: 286.4 kB / 0.5246 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1388, allocations: 4 kB / 0.5246 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1388, allocations: 4 kB / 0.5246 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002404/0.1391, allocations: 69.83 kB / 0.5247 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.1392, allocations: 35.92 kB / 0.5247 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/0.1417, allocations: 2.806 MB / 0.5275 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.1418, allocations: 8.031 kB / 0.5275 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.1419, allocations: 11.94 kB / 0.5275 GB, free: 11.16 MB / 414.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.0001497/0.142, allocations: 134.4 kB / 0.5276 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.1421, allocations: 27.84 kB / 0.5276 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.164e-05/0.1421, allocations: 25.88 kB / 0.5276 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1421, allocations: 0 / 0.5276 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1421, allocations: 4 kB / 0.5277 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1421, allocations: 0 / 0.5277 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.1424, allocations: 260.5 kB / 0.5279 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1424, allocations: 4.125 kB / 0.5279 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1425, allocations: 23.98 kB / 0.5279 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.1427, allocations: 73.61 kB / 0.528 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1427, allocations: 0 / 0.528 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/0.1453, allocations: 2.81 MB / 0.5307 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1453, allocations: 3.938 kB / 0.5307 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006687/0.1459, allocations: 388.8 kB / 0.5311 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.146, allocations: 20.06 kB / 0.5311 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.146, allocations: 7.984 kB / 0.5311 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.1462, allocations: 12 kB / 0.5312 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.1462, allocations: 23.95 kB / 0.5312 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.1463, allocations: 4 kB / 0.5312 GB, free: 7.047 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.1464, allocations: 145.5 kB / 0.5313 GB, free: 6.906 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1464, allocations: 0 / 0.5313 GB, free: 6.906 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003805/0.1468, allocations: 68 kB / 0.5314 GB, free: 6.84 MB / 414.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.0009535/0.1477, allocations: 0.9283 MB / 0.5323 GB, free: 5.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006851/0.1484, allocations: 397.2 kB / 0.5327 GB, free: 5.457 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1484, allocations: 0 / 0.5327 GB, free: 5.457 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000426/0.1489, allocations: 325.6 kB / 0.533 GB, free: 5.113 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.1492, allocations: 37.05 kB / 0.533 GB, free: 5.078 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.1525, allocations: 2.469 MB / 0.5354 GB, free: 2.492 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.1528, allocations: 0.748 MB / 0.5362 GB, free: 1.719 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.393e-05/0.1529, allocations: 21.94 kB / 0.5362 GB, free: 1.695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.923e-05/0.153, allocations: 67.41 kB / 0.5362 GB, free: 1.629 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.153, allocations: 0 / 0.5362 GB, free: 1.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2731/0.4261, allocations: 5.206 MB / 0.5413 GB, free: 28.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.94, allocations: 11.27 kB / 0.5413 GB, free: 28.28 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv. Warning: Get data of variable basicTransformer.i2 from file ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.944850545994996]