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.001684/0.001684, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002109/0.002109, allocations: 216.1 kB / 23.77 MB, free: 4.551 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.82/1.82, allocations: 207.7 MB / 234.6 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.243/0.243, allocations: 44.26 MB / 331.1 MB, free: 9.332 MB / 270.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",fmuType="cs",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.00223/0.00223, allocations: 75.91 kB / 468.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1537, allocations: 61.04 MB / 0.5169 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004428/0.1581, allocations: 2.369 MB / 0.5192 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1593, allocations: 0.6164 MB / 0.5198 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.1594, allocations: 7.938 kB / 0.5198 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.1596, allocations: 35.64 kB / 0.5198 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.1598, allocations: 75.28 kB / 0.5199 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.1601, allocations: 67.91 kB / 0.52 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004217/0.1605, allocations: 294.7 kB / 0.5203 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.1607, allocations: 69 kB / 0.5203 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.161, allocations: 119.6 kB / 0.5204 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.1612, allocations: 119.4 kB / 0.5206 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.181e-05/0.1612, allocations: 24 kB / 0.5206 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.311e-05/0.1613, allocations: 24 kB / 0.5206 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.1614, allocations: 47.84 kB / 0.5207 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.1615, allocations: 107.5 kB / 0.5208 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004312/0.1619, allocations: 286.8 kB / 0.521 GB, free: 2.953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.1619, allocations: 4 kB / 0.521 GB, free: 2.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1619, allocations: 0 / 0.521 GB, free: 2.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.1619, allocations: 0 / 0.521 GB, free: 2.949 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.000976/0.1629, allocations: 469.5 kB / 0.5215 GB, free: 2.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/0.163, allocations: 12.03 kB / 0.5215 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.477e-05/0.163, allocations: 4.625 kB / 0.5215 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.593e-05/0.1631, allocations: 58.73 kB / 0.5216 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.1632, allocations: 24.8 kB / 0.5216 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.1636, allocations: 191 kB / 0.5218 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.1636, allocations: 16.81 kB / 0.5218 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.053e-05/0.1637, allocations: 20.38 kB / 0.5218 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/0.1642, allocations: 272.3 kB / 0.5221 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1642, allocations: 0 / 0.5221 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.1642, allocations: 4 kB / 0.5221 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.1643, allocations: 8 kB / 0.5221 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.1646, allocations: 141.7 kB / 0.5222 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.166, allocations: 0.725 MB / 0.5229 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.1662, allocations: 90.55 kB / 0.523 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.842e-05/0.1663, allocations: 41.03 kB / 0.523 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.1663, allocations: 11.92 kB / 0.523 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.1664, allocations: 38.56 kB / 0.5231 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1664, allocations: 0 / 0.5231 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001853/0.1682, allocations: 0.6425 MB / 0.5237 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.1683, allocations: 51.41 kB / 0.5238 GB, free: 15.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.1685, allocations: 215.6 kB / 0.524 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.1685, allocations: 33.7 kB / 0.524 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.1687, allocations: 172.2 kB / 0.5242 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.1687, allocations: 51.55 kB / 0.5242 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.651e-05/0.1688, allocations: 45.66 kB / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.169, allocations: 338.7 kB / 0.5246 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.1691, allocations: 59.97 kB / 0.5246 GB, free: 14.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.1693, allocations: 105.1 kB / 0.5247 GB, free: 14.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.1696, allocations: 180.9 kB / 0.5249 GB, free: 14.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1696, allocations: 0 / 0.5249 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005749/0.1702, allocations: 274.5 kB / 0.5252 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1702, allocations: 12 kB / 0.5252 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1702, allocations: 0 / 0.5252 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002644/0.1705, allocations: 73.67 kB / 0.5252 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.1707, allocations: 31.97 kB / 0.5253 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/0.1734, allocations: 2.794 MB / 0.528 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.1736, allocations: 11.98 kB / 0.528 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.1736, allocations: 4 kB / 0.528 GB, free: 11.23 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.0001905/0.1738, allocations: 141.7 kB / 0.5282 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.1739, allocations: 23.86 kB / 0.5282 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.1739, allocations: 29.86 kB / 0.5282 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1739, allocations: 0 / 0.5282 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.1739, allocations: 4 kB / 0.5282 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/0.1739, allocations: 0 / 0.5282 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.1743, allocations: 228.6 kB / 0.5284 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1743, allocations: 0 / 0.5284 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.492e-05/0.1744, allocations: 15.98 kB / 0.5284 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002116/0.1746, allocations: 69.61 kB / 0.5285 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.1746, allocations: 7.984 kB / 0.5285 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/0.177, allocations: 2.79 MB / 0.5312 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.177, allocations: 0 / 0.5312 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007295/0.1778, allocations: 405.3 kB / 0.5316 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.1778, allocations: 15.92 kB / 0.5316 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.1779, allocations: 4 kB / 0.5316 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.178, allocations: 19.98 kB / 0.5317 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.649e-05/0.1781, allocations: 11.97 kB / 0.5317 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.1781, allocations: 8 kB / 0.5317 GB, free: 7.172 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.1783, allocations: 149.5 kB / 0.5318 GB, free: 7.027 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1783, allocations: 8 kB / 0.5318 GB, free: 7.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003997/0.1787, allocations: 64 kB / 0.5319 GB, free: 6.957 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.00104/0.1797, allocations: 0.9246 MB / 0.5328 GB, free: 5.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007526/0.1805, allocations: 401.2 kB / 0.5332 GB, free: 5.578 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.1805, allocations: 4 kB / 0.5332 GB, free: 5.574 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004706/0.181, allocations: 321.2 kB / 0.5335 GB, free: 5.234 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.1813, allocations: 33.47 kB / 0.5335 GB, free: 5.203 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/0.1848, allocations: 2.473 MB / 0.5359 GB, free: 2.613 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.185, allocations: 134.2 kB / 0.5361 GB, free: 2.457 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.91e-05/0.185, allocations: 21.94 kB / 0.5361 GB, free: 2.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.1851, allocations: 71.41 kB / 0.5362 GB, free: 2.367 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1851, allocations: 4 kB / 0.5362 GB, free: 2.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2948/0.48, allocations: 5.445 MB / 0.5415 GB, free: 28.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.16, allocations: 6.375 kB / 0.5415 GB, free: 28.95 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.917045198963024]