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.001335/0.001335, allocations: 110.2 kB / 19.69 MB, free: 2.203 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.001522/0.001522, allocations: 223.3 kB / 23.01 MB, free: 5.039 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.387/1.387, allocations: 207.6 MB / 233.8 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.218/0.218, allocations: 44.24 MB / 330.3 MB, free: 9.609 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.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.002139/0.002139, allocations: 67.91 kB / 467.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1305, allocations: 61.06 MB / 0.5162 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003769/0.1342, allocations: 2.123 MB / 0.5182 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.1366, allocations: 1.325 MB / 0.5195 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.968e-05/0.1366, allocations: 7.938 kB / 0.5195 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.347e-05/0.1367, allocations: 19.73 kB / 0.5196 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.1369, allocations: 43.64 kB / 0.5196 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.1374, allocations: 183.3 kB / 0.5198 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.1376, allocations: 176.1 kB / 0.5199 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.1378, allocations: 96.28 kB / 0.52 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.138, allocations: 79.64 kB / 0.5201 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.1381, allocations: 95.55 kB / 0.5202 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.1381, allocations: 12 kB / 0.5202 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.1384, allocations: 151.9 kB / 0.5204 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.704e-05/0.1385, allocations: 43.83 kB / 0.5204 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.712e-05/0.1386, allocations: 91.42 kB / 0.5205 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004428/0.139, allocations: 314.6 kB / 0.5208 GB, free: 2.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.139, allocations: 0 / 0.5208 GB, free: 2.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.139, allocations: 0 / 0.5208 GB, free: 2.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.139, allocations: 4 kB / 0.5208 GB, free: 2.551 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.0006435/0.1397, allocations: 457.6 kB / 0.5212 GB, free: 2.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1397, allocations: 15.97 kB / 0.5212 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.1398, allocations: 87.22 kB / 0.5213 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008015/0.1406, allocations: 64.75 kB / 0.5214 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.1408, allocations: 138.2 kB / 0.5215 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.1408, allocations: 29.03 kB / 0.5216 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.1409, allocations: 32.38 kB / 0.5216 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.1413, allocations: 238.2 kB / 0.5218 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1413, allocations: 0 / 0.5218 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.1413, allocations: 12 kB / 0.5218 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.1413, allocations: 8 kB / 0.5218 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.1416, allocations: 162.5 kB / 0.522 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009602/0.1426, allocations: 0.6054 MB / 0.5226 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005314/0.1431, allocations: 227.3 kB / 0.5228 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.1432, allocations: 61.3 kB / 0.5229 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.1433, allocations: 4.234 kB / 0.5229 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.1433, allocations: 38.73 kB / 0.5229 GB, free: 280 kB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.383e-06/0.1433, allocations: 0 / 0.5229 GB, free: 280 kB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.000453/0.1438, allocations: 210.3 kB / 0.5231 GB, free: 64 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.1438, allocations: 67.33 kB / 0.5232 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/0.1439, allocations: 97.86 kB / 0.5233 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.1439, allocations: 33.7 kB / 0.5233 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.144, allocations: 152.5 kB / 0.5234 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.936e-05/0.1441, allocations: 95.17 kB / 0.5235 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.1442, allocations: 37.7 kB / 0.5236 GB, free: 15.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1443, allocations: 318.8 kB / 0.5239 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.506e-05/0.1444, allocations: 43.97 kB / 0.5239 GB, free: 15.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.705e-05/0.1445, allocations: 55.91 kB / 0.524 GB, free: 15.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.1447, allocations: 122.2 kB / 0.5241 GB, free: 15.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1447, allocations: 0 / 0.5241 GB, free: 15.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002748/0.145, allocations: 165.6 kB / 0.5242 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.145, allocations: 4 kB / 0.5242 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.145, allocations: 0 / 0.5242 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1451, allocations: 0 / 0.5242 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.1454, allocations: 107.8 kB / 0.5243 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1454, allocations: 4 kB / 0.5243 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.982e-05/0.1455, allocations: 15.89 kB / 0.5244 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.1455, allocations: 4 kB / 0.5244 GB, free: 14.71 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.0001286/0.1456, allocations: 133.8 kB / 0.5245 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.1457, allocations: 15.89 kB / 0.5245 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.367e-05/0.1457, allocations: 25.31 kB / 0.5245 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1457, allocations: 7.938 kB / 0.5245 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1457, allocations: 0 / 0.5245 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1457, allocations: 3.938 kB / 0.5245 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.1461, allocations: 264.5 kB / 0.5248 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1461, allocations: 0 / 0.5248 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.1464, allocations: 95.94 kB / 0.5249 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1464, allocations: 4 kB / 0.5249 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.1464, allocations: 8.188 kB / 0.5249 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.1464, allocations: 3.938 kB / 0.5249 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.1464, allocations: 11.98 kB / 0.5249 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.1468, allocations: 263.4 kB / 0.5252 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.1468, allocations: 11.91 kB / 0.5252 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.1468, allocations: 8 kB / 0.5252 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.1469, allocations: 11.94 kB / 0.5252 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.1469, allocations: 15.97 kB / 0.5252 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.147, allocations: 8 kB / 0.5252 GB, free: 13.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.008e-05/0.147, allocations: 83.27 kB / 0.5253 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.147, allocations: 0 / 0.5253 GB, free: 13.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1473, allocations: 55.78 kB / 0.5253 GB, free: 13.63 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.0007966/0.1481, allocations: 0.8729 MB / 0.5262 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.1484, allocations: 127.9 kB / 0.5263 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1484, allocations: 0 / 0.5263 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.1485, allocations: 79.77 kB / 0.5264 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.1487, allocations: 15.94 kB / 0.5264 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.1511, allocations: 1.969 MB / 0.5283 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.1515, allocations: 0.7397 MB / 0.5291 GB, free: 9.695 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.509e-05/0.1516, allocations: 21.41 kB / 0.5291 GB, free: 9.676 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.1517, allocations: 67.41 kB / 0.5291 GB, free: 9.609 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1517, allocations: 0 / 0.5291 GB, free: 9.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.1806, allocations: 2.952 MB / 0.532 GB, free: 6.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.9, allocations: 0 / 0.532 GB, free: 6.652 MB / 414.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_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_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.csv","/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: 14.08700731400313]