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.002205/0.002205, allocations: 109.2 kB / 20.48 MB, free: 1.492 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.002754/0.002754, allocations: 220.5 kB / 23.79 MB, free: 4.699 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.724/1.724, allocations: 207.6 MB / 234.6 MB, free: 9.98 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.2433/0.2433, allocations: 44.24 MB / 331.1 MB, free: 9.527 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.002168/0.002168, allocations: 69 kB / 468.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1582, allocations: 61.04 MB / 0.5169 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.006358/0.1645, allocations: 2.552 MB / 0.5194 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.1663, allocations: 0.6514 MB / 0.52 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.1665, allocations: 4 kB / 0.52 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.1667, allocations: 39.64 kB / 0.5201 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.1669, allocations: 71.3 kB / 0.5201 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.1672, allocations: 71.89 kB / 0.5202 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004459/0.1677, allocations: 290.7 kB / 0.5205 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.1679, allocations: 68.98 kB / 0.5205 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.1681, allocations: 119.6 kB / 0.5207 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.1684, allocations: 119.4 kB / 0.5208 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.017e-05/0.1684, allocations: 24 kB / 0.5208 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.79e-05/0.1685, allocations: 24 kB / 0.5208 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.1686, allocations: 47.83 kB / 0.5209 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.1687, allocations: 135.4 kB / 0.521 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.1691, allocations: 274.9 kB / 0.5213 GB, free: 2.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1691, allocations: 4 kB / 0.5213 GB, free: 2.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1691, allocations: 0 / 0.5213 GB, free: 2.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1692, allocations: 0 / 0.5213 GB, free: 2.871 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.0009838/0.1701, allocations: 465.5 kB / 0.5217 GB, free: 2.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.1702, allocations: 16.02 kB / 0.5217 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.298e-05/0.1702, allocations: 12.62 kB / 0.5217 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.885e-05/0.1703, allocations: 54.73 kB / 0.5218 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.512e-05/0.1704, allocations: 28.8 kB / 0.5218 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.1708, allocations: 191 kB / 0.522 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.1708, allocations: 16.81 kB / 0.522 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.1709, allocations: 16.38 kB / 0.522 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/0.1714, allocations: 195.2 kB / 0.5222 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1714, allocations: 7.984 kB / 0.5222 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.1714, allocations: 15.94 kB / 0.5222 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1714, allocations: 4 kB / 0.5222 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/0.1718, allocations: 141.7 kB / 0.5224 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.1735, allocations: 0.764 MB / 0.5231 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.1738, allocations: 90.55 kB / 0.5232 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.1739, allocations: 45.03 kB / 0.5232 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.1739, allocations: 3.938 kB / 0.5232 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.174, allocations: 38.56 kB / 0.5233 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.174, allocations: 0 / 0.5233 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001784/0.1757, allocations: 0.6347 MB / 0.5239 GB, free: 15.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.1758, allocations: 55.41 kB / 0.524 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.176, allocations: 219.7 kB / 0.5242 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1761, allocations: 33.64 kB / 0.5242 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.1762, allocations: 164.2 kB / 0.5244 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.1762, allocations: 59.53 kB / 0.5244 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-05/0.1763, allocations: 45.66 kB / 0.5245 GB, free: 15.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1765, allocations: 330.8 kB / 0.5248 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.1766, allocations: 59.97 kB / 0.5248 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.1768, allocations: 109.1 kB / 0.5249 GB, free: 14.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.1771, allocations: 176.9 kB / 0.5251 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1771, allocations: 0 / 0.5251 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005411/0.1777, allocations: 282.4 kB / 0.5254 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1777, allocations: 4.156 kB / 0.5254 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1777, allocations: 8 kB / 0.5254 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002499/0.1779, allocations: 69.67 kB / 0.5255 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.1781, allocations: 27.98 kB / 0.5255 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/0.1808, allocations: 2.814 MB / 0.5282 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.1809, allocations: 4.031 kB / 0.5282 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.181, allocations: 12 kB / 0.5282 GB, free: 11.18 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.0001643/0.1811, allocations: 141.8 kB / 0.5284 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.1812, allocations: 23.86 kB / 0.5284 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.1812, allocations: 21.81 kB / 0.5284 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.1812, allocations: 0 / 0.5284 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.1812, allocations: 7.938 kB / 0.5284 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.1812, allocations: 3.984 kB / 0.5284 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.1815, allocations: 256.5 kB / 0.5287 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1815, allocations: 4.188 kB / 0.5287 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.567e-05/0.1816, allocations: 23.98 kB / 0.5287 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002017/0.1818, allocations: 73.64 kB / 0.5288 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.1818, allocations: 4 kB / 0.5288 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/0.1843, allocations: 2.802 MB / 0.5315 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1843, allocations: 0 / 0.5315 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007401/0.185, allocations: 400.8 kB / 0.5319 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.1851, allocations: 12.08 kB / 0.5319 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.1851, allocations: 15.97 kB / 0.5319 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.1853, allocations: 11.98 kB / 0.5319 GB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/0.1854, allocations: 19.97 kB / 0.532 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.1854, allocations: 8.062 kB / 0.532 GB, free: 7.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.1855, allocations: 153.5 kB / 0.5321 GB, free: 6.914 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1855, allocations: 0 / 0.5321 GB, free: 6.914 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003815/0.1859, allocations: 64 kB / 0.5322 GB, free: 6.852 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.0009815/0.1869, allocations: 0.9282 MB / 0.5331 GB, free: 5.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006962/0.1876, allocations: 401.3 kB / 0.5335 GB, free: 5.473 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1876, allocations: 0 / 0.5335 GB, free: 5.473 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004711/0.188, allocations: 317.2 kB / 0.5338 GB, free: 5.137 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.1884, allocations: 29.08 kB / 0.5338 GB, free: 5.109 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.1918, allocations: 2.477 MB / 0.5362 GB, free: 2.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.1922, allocations: 0.744 MB / 0.5369 GB, free: 1.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.27e-05/0.1923, allocations: 17.95 kB / 0.5369 GB, free: 1.727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.1925, allocations: 71.34 kB / 0.537 GB, free: 1.656 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1925, allocations: 0 / 0.537 GB, free: 1.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2453/0.4377, allocations: 5.232 MB / 0.5421 GB, free: 28.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.09, allocations: 13.5 kB / 0.5421 GB, free: 28.14 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.796323897957336]