Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.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.001409/0.001409, allocations: 93.98 kB / 20.48 MB, free: 1.395 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.001534/0.001534, allocations: 216 kB / 23.78 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.629/1.629, allocations: 207.7 MB / 234.6 MB, free: 9.781 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.2878/0.2878, allocations: 44.26 MB / 331.1 MB, free: 9.32 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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",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.003756/0.003756, allocations: 75.91 kB / 468.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1529, allocations: 61.03 MB / 0.5169 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003799/0.1567, allocations: 2.025 MB / 0.5189 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.1589, allocations: 1.208 MB / 0.5201 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-05/0.159, allocations: 4 kB / 0.5201 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.489e-05/0.1591, allocations: 23.72 kB / 0.5201 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.1593, allocations: 43.66 kB / 0.5202 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005857/0.1598, allocations: 179.3 kB / 0.5203 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.1601, allocations: 180.1 kB / 0.5205 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.1603, allocations: 88.36 kB / 0.5206 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.1605, allocations: 75.64 kB / 0.5207 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1606, allocations: 91.55 kB / 0.5207 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.1606, allocations: 16 kB / 0.5208 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003236/0.161, allocations: 151.9 kB / 0.5209 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.161, allocations: 51.77 kB / 0.5209 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.698e-05/0.1611, allocations: 67.61 kB / 0.521 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.1616, allocations: 318.6 kB / 0.5213 GB, free: 2.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1616, allocations: 0 / 0.5213 GB, free: 2.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1616, allocations: 0 / 0.5213 GB, free: 2.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.1616, allocations: 0 / 0.5213 GB, free: 2.637 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007439/0.1623, allocations: 457.6 kB / 0.5218 GB, free: 2.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1624, allocations: 8.031 kB / 0.5218 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.866e-05/0.1624, allocations: 36.7 kB / 0.5218 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.1626, allocations: 95.59 kB / 0.5219 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008824/0.1634, allocations: 72.7 kB / 0.522 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.1636, allocations: 134.2 kB / 0.5221 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.1636, allocations: 29.38 kB / 0.5221 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/0.1637, allocations: 36.38 kB / 0.5221 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004893/0.1642, allocations: 282.4 kB / 0.5224 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.1642, allocations: 7.953 kB / 0.5224 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.1642, allocations: 12 kB / 0.5224 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.1642, allocations: 8 kB / 0.5224 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.1646, allocations: 203.8 kB / 0.5226 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.1657, allocations: 0.6347 MB / 0.5233 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000727/0.1664, allocations: 342.2 kB / 0.5236 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.1667, allocations: 142.6 kB / 0.5237 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.1667, allocations: 4.438 kB / 0.5237 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.1667, allocations: 39 kB / 0.5238 GB, free: 0 / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 1.583e-06/0.1667, allocations: 128 / 0.5238 GB, free: 0 / 398.1 MB Notification: Performance of matching and sorting (n=67): time 0.001838/0.1686, allocations: 0.763 MB / 0.5245 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.1686, allocations: 60.06 kB / 0.5246 GB, free: 15.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.1687, allocations: 101.9 kB / 0.5247 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.1687, allocations: 41.7 kB / 0.5247 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.1688, allocations: 137.7 kB / 0.5248 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.169, allocations: 238 kB / 0.5251 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.1691, allocations: 86.34 kB / 0.5251 GB, free: 14.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1693, allocations: 330.8 kB / 0.5255 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.1695, allocations: 105.2 kB / 0.5256 GB, free: 14.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.1698, allocations: 144.8 kB / 0.5257 GB, free: 13.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.1702, allocations: 289.7 kB / 0.526 GB, free: 13.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1702, allocations: 4 kB / 0.526 GB, free: 13.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006163/0.1709, allocations: 361.3 kB / 0.5263 GB, free: 13.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1709, allocations: 7.984 kB / 0.5263 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1709, allocations: 4 kB / 0.5263 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1709, allocations: 3.938 kB / 0.5263 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/0.1716, allocations: 187.8 kB / 0.5265 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1716, allocations: 0 / 0.5265 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.967e-05/0.1717, allocations: 16 kB / 0.5265 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.1717, allocations: 19.98 kB / 0.5265 GB, free: 13.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.1719, allocations: 149.7 kB / 0.5267 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.1719, allocations: 23.81 kB / 0.5267 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.486e-05/0.172, allocations: 49.98 kB / 0.5268 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.172, allocations: 4 kB / 0.5268 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.172, allocations: 0 / 0.5268 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.172, allocations: 7.984 kB / 0.5268 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.1737, allocations: 0.8961 MB / 0.5276 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1737, allocations: 0 / 0.5276 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005829/0.1743, allocations: 175.8 kB / 0.5278 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1743, allocations: 0 / 0.5278 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.1743, allocations: 12 kB / 0.5278 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.1743, allocations: 11.92 kB / 0.5278 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1743, allocations: 0 / 0.5278 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006442/0.1749, allocations: 482.3 kB / 0.5283 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.175, allocations: 19.86 kB / 0.5283 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.175, allocations: 12 kB / 0.5283 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.1751, allocations: 19.98 kB / 0.5283 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.811e-05/0.1752, allocations: 36.58 kB / 0.5284 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.1752, allocations: 16.25 kB / 0.5284 GB, free: 11.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.92e-05/0.1753, allocations: 87.28 kB / 0.5285 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1753, allocations: 0 / 0.5285 GB, free: 11.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000329/0.1756, allocations: 68 kB / 0.5285 GB, free: 10.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/0.1769, allocations: 1.188 MB / 0.5297 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006099/0.1775, allocations: 305.5 kB / 0.53 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1776, allocations: 0 / 0.53 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.1778, allocations: 171.7 kB / 0.5302 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.1781, allocations: 24 kB / 0.5302 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.1817, allocations: 2.682 MB / 0.5328 GB, free: 6.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.1818, allocations: 169.3 kB / 0.533 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.182, allocations: 44.25 kB / 0.533 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.1822, allocations: 103.4 kB / 0.5331 GB, free: 6.152 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1822, allocations: 0 / 0.5331 GB, free: 6.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.2102, allocations: 5.13 MB / 0.5381 GB, free: 1.012 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.1, allocations: 7.875 kB / 0.5381 GB, free: 1.004 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.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.820086602005176]