Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 112.4 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002154/0.002154, allocations: 208.9 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2841/0.2841, allocations: 46.91 MB / 357.4 MB, free: 10.46 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 79.88 kB / 0.4913 GB, free: 8.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1262, allocations: 65.99 MB / 0.5557 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003569/0.1297, allocations: 2.129 MB / 0.5578 GB, free: 4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.132, allocations: 1.379 MB / 0.5591 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.351e-05/0.1321, allocations: 7.938 kB / 0.5591 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.775e-05/0.1321, allocations: 27.66 kB / 0.5592 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.1323, allocations: 43.66 kB / 0.5592 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.1328, allocations: 191.3 kB / 0.5594 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.133, allocations: 176.1 kB / 0.5596 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.1333, allocations: 87.31 kB / 0.5596 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.1334, allocations: 87.64 kB / 0.5597 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1336, allocations: 87.55 kB / 0.5598 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.1336, allocations: 16 kB / 0.5598 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.1339, allocations: 151.9 kB / 0.56 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.1339, allocations: 51.77 kB / 0.56 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.244e-05/0.134, allocations: 91.47 kB / 0.5601 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004382/0.1345, allocations: 318.6 kB / 0.5604 GB, free: 1.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1345, allocations: 0 / 0.5604 GB, free: 1.305 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1345, allocations: 0 / 0.5604 GB, free: 1.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1345, allocations: 3.938 kB / 0.5604 GB, free: 1.301 MB / 414.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.0006852/0.1352, allocations: 0.5221 MB / 0.5609 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1352, allocations: 16.02 kB / 0.5609 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.1353, allocations: 99.09 kB / 0.561 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009373/0.1363, allocations: 80.69 kB / 0.5611 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.1366, allocations: 216 kB / 0.5613 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.1366, allocations: 25.03 kB / 0.5613 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.1366, allocations: 28.38 kB / 0.5614 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.1371, allocations: 234.2 kB / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1371, allocations: 7.938 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.1371, allocations: 16 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1371, allocations: 8 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.1374, allocations: 166.5 kB / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009412/0.1384, allocations: 0.644 MB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005235/0.1389, allocations: 211.4 kB / 0.5626 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.139, allocations: 65.23 kB / 0.5627 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.1391, allocations: 8.234 kB / 0.5627 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.1391, allocations: 34.8 kB / 0.5627 GB, free: 14.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 1.373e-06/0.1391, allocations: 0 / 0.5627 GB, free: 14.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004815/0.1396, allocations: 215.9 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.1396, allocations: 59.34 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.407e-05/0.1397, allocations: 105.8 kB / 0.5631 GB, free: 14.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.1397, allocations: 29.7 kB / 0.5631 GB, free: 14.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.1398, allocations: 148.6 kB / 0.5632 GB, free: 14.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.277e-05/0.1399, allocations: 99.16 kB / 0.5633 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.737e-05/0.14, allocations: 37.7 kB / 0.5634 GB, free: 14.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1401, allocations: 322.8 kB / 0.5637 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.946e-05/0.1402, allocations: 47.91 kB / 0.5637 GB, free: 13.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.958e-05/0.1403, allocations: 44.91 kB / 0.5638 GB, free: 13.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.1406, allocations: 121.3 kB / 0.5639 GB, free: 13.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1406, allocations: 4 kB / 0.5639 GB, free: 13.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002928/0.1409, allocations: 161.5 kB / 0.564 GB, free: 13.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1409, allocations: 10.19 kB / 0.5641 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1409, allocations: 0 / 0.5641 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1409, allocations: 0 / 0.5641 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.1413, allocations: 107.8 kB / 0.5642 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1413, allocations: 4 kB / 0.5642 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/0.1413, allocations: 15.89 kB / 0.5642 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.1413, allocations: 8 kB / 0.5642 GB, free: 13.2 MB / 430.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.000121/0.1415, allocations: 125.8 kB / 0.5643 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.1415, allocations: 11.95 kB / 0.5643 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.1416, allocations: 21.53 kB / 0.5643 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1416, allocations: 11.92 kB / 0.5643 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1416, allocations: 0 / 0.5643 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1416, allocations: 0 / 0.5643 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.1419, allocations: 293.3 kB / 0.5646 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1419, allocations: 0 / 0.5646 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.1423, allocations: 99.89 kB / 0.5647 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1423, allocations: 4 kB / 0.5647 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1423, allocations: 4 kB / 0.5647 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1423, allocations: 4.188 kB / 0.5647 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1423, allocations: 0 / 0.5647 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.1426, allocations: 279.6 kB / 0.565 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.1427, allocations: 96.98 kB / 0.5651 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1427, allocations: 7.984 kB / 0.5651 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.386e-05/0.1428, allocations: 11.94 kB / 0.5651 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.1428, allocations: 15.92 kB / 0.5651 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1428, allocations: 8 kB / 0.5651 GB, free: 12.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.46e-05/0.1429, allocations: 87.27 kB / 0.5652 GB, free: 12.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1429, allocations: 0 / 0.5652 GB, free: 12.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.1432, allocations: 67.67 kB / 0.5653 GB, free: 11.98 MB / 430.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.0007877/0.144, allocations: 0.8647 MB / 0.5661 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.1442, allocations: 124.3 kB / 0.5662 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1442, allocations: 0 / 0.5662 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.1444, allocations: 68.38 kB / 0.5663 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.1446, allocations: 15.94 kB / 0.5663 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.147, allocations: 1.985 MB / 0.5683 GB, free: 8.816 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.1474, allocations: 0.7396 MB / 0.569 GB, free: 8.051 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.189e-05/0.1474, allocations: 21.41 kB / 0.569 GB, free: 8.027 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.848e-05/0.1475, allocations: 63.41 kB / 0.5691 GB, free: 7.965 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1475, allocations: 0 / 0.5691 GB, free: 7.965 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.1716, allocations: 2.791 MB / 0.5718 GB, free: 5.238 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/8.316, allocations: 8.531 kB / 0.5718 GB, free: 5.23 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 11.47033269982785]