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.001928/0.001928, allocations: 100.3 kB / 19.69 MB, free: 2.094 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.001932/0.001932, allocations: 207.4 kB / 22.99 MB, free: 4.922 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.5/1.5, allocations: 207.7 MB / 233.8 MB, free: 9.812 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.2323/0.2323, allocations: 44.27 MB / 330.3 MB, free: 9.316 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",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.002593/0.002593, allocations: 74.72 kB / 467.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1405, allocations: 61.04 MB / 0.5162 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.005113/0.1456, allocations: 2.025 MB / 0.5181 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002819/0.1484, allocations: 1.208 MB / 0.5193 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.1486, allocations: 4 kB / 0.5193 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.1487, allocations: 31.66 kB / 0.5194 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.1489, allocations: 35.72 kB / 0.5194 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007377/0.1496, allocations: 179.3 kB / 0.5196 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.1499, allocations: 180.1 kB / 0.5197 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/0.1501, allocations: 76.38 kB / 0.5198 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.1503, allocations: 79.64 kB / 0.5199 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1504, allocations: 75.55 kB / 0.52 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.1504, allocations: 16 kB / 0.52 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003221/0.1508, allocations: 151.9 kB / 0.5201 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.597e-05/0.1508, allocations: 47.83 kB / 0.5202 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.728e-05/0.1509, allocations: 79.58 kB / 0.5202 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006282/0.1516, allocations: 326.4 kB / 0.5206 GB, free: 2.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1516, allocations: 0 / 0.5206 GB, free: 2.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1516, allocations: 0 / 0.5206 GB, free: 2.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.1516, allocations: 0 / 0.5206 GB, free: 2.648 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.0007054/0.1523, allocations: 453.6 kB / 0.521 GB, free: 2.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1523, allocations: 8.031 kB / 0.521 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.1524, allocations: 91.22 kB / 0.5211 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009355/0.1534, allocations: 68.75 kB / 0.5211 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.1535, allocations: 134.2 kB / 0.5213 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.1536, allocations: 25.03 kB / 0.5213 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.1536, allocations: 32.31 kB / 0.5213 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004403/0.154, allocations: 234.2 kB / 0.5216 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1541, allocations: 7.984 kB / 0.5216 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.1541, allocations: 12 kB / 0.5216 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.1541, allocations: 8 kB / 0.5216 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.1544, allocations: 166.5 kB / 0.5217 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.1555, allocations: 0.5586 MB / 0.5223 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005821/0.1561, allocations: 223.7 kB / 0.5225 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.1562, allocations: 65.3 kB / 0.5226 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.1562, allocations: 4.234 kB / 0.5226 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.1563, allocations: 30.8 kB / 0.5226 GB, free: 440 kB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.423e-06/0.1563, allocations: 0 / 0.5226 GB, free: 440 kB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005285/0.1568, allocations: 218.2 kB / 0.5228 GB, free: 216 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.1568, allocations: 67.28 kB / 0.5229 GB, free: 136 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.1569, allocations: 97.86 kB / 0.523 GB, free: 28 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.681e-05/0.157, allocations: 37.69 kB / 0.523 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.1571, allocations: 148.5 kB / 0.5231 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.1572, allocations: 99.16 kB / 0.5232 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/0.1573, allocations: 41.7 kB / 0.5233 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.1575, allocations: 318.8 kB / 0.5236 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.1576, allocations: 39.98 kB / 0.5236 GB, free: 15.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1577, allocations: 47.97 kB / 0.5237 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.158, allocations: 122.2 kB / 0.5238 GB, free: 15.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.158, allocations: 4 kB / 0.5238 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003221/0.1583, allocations: 161.6 kB / 0.5239 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.1583, allocations: 7.938 kB / 0.5239 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1583, allocations: 0 / 0.5239 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.1584, allocations: 4 kB / 0.5239 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.1588, allocations: 99.89 kB / 0.524 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1588, allocations: 4 kB / 0.524 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.282e-05/0.1589, allocations: 19.88 kB / 0.5241 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.1589, allocations: 4 kB / 0.5241 GB, free: 14.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * Single equations (assignments): 27 * 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.0001489/0.159, allocations: 133.7 kB / 0.5242 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.1591, allocations: 11.91 kB / 0.5242 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.813e-05/0.1591, allocations: 25.56 kB / 0.5242 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1591, allocations: 7.875 kB / 0.5242 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.1591, allocations: 8 kB / 0.5242 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1591, allocations: 3.984 kB / 0.5242 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.1595, allocations: 244.6 kB / 0.5245 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1595, allocations: 0 / 0.5245 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.1599, allocations: 99.88 kB / 0.5246 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1599, allocations: 0 / 0.5246 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.1599, allocations: 8 kB / 0.5246 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1599, allocations: 3.938 kB / 0.5246 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1599, allocations: 0 / 0.5246 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.1603, allocations: 271.4 kB / 0.5248 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.1603, allocations: 11.91 kB / 0.5249 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.1603, allocations: 7.938 kB / 0.5249 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.416e-05/0.1604, allocations: 11.94 kB / 0.5249 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.1605, allocations: 15.97 kB / 0.5249 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.1605, allocations: 4 kB / 0.5249 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.281e-05/0.1605, allocations: 91.27 kB / 0.525 GB, free: 13.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1605, allocations: 0 / 0.525 GB, free: 13.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.1608, allocations: 51.78 kB / 0.525 GB, free: 13.8 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 (27): * Single equations (assignments): 27 * 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.0009553/0.1618, allocations: 0.8768 MB / 0.5259 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000314/0.1621, allocations: 123.9 kB / 0.526 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1621, allocations: 0 / 0.526 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.1622, allocations: 71.89 kB / 0.5261 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.1625, allocations: 15.94 kB / 0.5261 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.1652, allocations: 1.981 MB / 0.528 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.1653, allocations: 133.7 kB / 0.5282 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.1654, allocations: 21.41 kB / 0.5282 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.1655, allocations: 63.41 kB / 0.5282 GB, free: 10.39 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1655, allocations: 0 / 0.5282 GB, free: 10.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/0.1996, allocations: 3.178 MB / 0.5313 GB, free: 7.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/11.85, allocations: 15.33 kB / 0.5314 GB, free: 7.191 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.154943488072604]