Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001313/0.001313, allocations: 120 kB / 18.49 MB, free: 4.562 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.00144/0.00144, allocations: 215.1 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2268/0.2268, allocations: 46.93 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 59.91 kB / 0.4916 GB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1402, allocations: 65.99 MB / 0.5561 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003694/0.1439, allocations: 2.124 MB / 0.5582 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.1461, allocations: 1.39 MB / 0.5595 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.907e-05/0.1462, allocations: 4 kB / 0.5595 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 8.247e-05/0.1463, allocations: 27.61 kB / 0.5595 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.1464, allocations: 43.64 kB / 0.5596 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005536/0.147, allocations: 183.3 kB / 0.5598 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.1473, allocations: 184 kB / 0.5599 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.1475, allocations: 93.5 kB / 0.56 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.1477, allocations: 87.64 kB / 0.5601 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.1478, allocations: 87.55 kB / 0.5602 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.1478, allocations: 16 kB / 0.5602 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.1482, allocations: 147.9 kB / 0.5603 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.1482, allocations: 51.77 kB / 0.5604 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.827e-05/0.1483, allocations: 87.48 kB / 0.5605 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004988/0.1488, allocations: 314.6 kB / 0.5608 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1488, allocations: 8 kB / 0.5608 GB, free: 0.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1488, allocations: 0 / 0.5608 GB, free: 0.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.1489, allocations: 0 / 0.5608 GB, free: 0.957 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.0007431/0.1496, allocations: 0.5259 MB / 0.5613 GB, free: 388 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.1496, allocations: 8.031 kB / 0.5613 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.791e-05/0.1497, allocations: 32.7 kB / 0.5613 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.1498, allocations: 103.5 kB / 0.5614 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.1509, allocations: 88.69 kB / 0.5615 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.1512, allocations: 216 kB / 0.5617 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.1513, allocations: 33.38 kB / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.39e-05/0.1513, allocations: 40.33 kB / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005243/0.1519, allocations: 274.4 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.1519, allocations: 15.88 kB / 0.5621 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.1519, allocations: 16 kB / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.1519, allocations: 8 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.1523, allocations: 199.9 kB / 0.5623 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.1534, allocations: 0.7201 MB / 0.563 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007442/0.1541, allocations: 337.4 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.1544, allocations: 140.9 kB / 0.5634 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.1544, allocations: 4.438 kB / 0.5635 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.1544, allocations: 39 kB / 0.5635 GB, free: 14.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 2.255e-06/0.1544, allocations: 0 / 0.5635 GB, free: 14.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=67): time 0.001831/0.1563, allocations: 0.7422 MB / 0.5642 GB, free: 13.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.1563, allocations: 55.97 kB / 0.5643 GB, free: 13.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.976e-05/0.1564, allocations: 105.8 kB / 0.5644 GB, free: 13.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.1564, allocations: 37.7 kB / 0.5644 GB, free: 13.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.1565, allocations: 141.7 kB / 0.5645 GB, free: 12.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.1567, allocations: 238 kB / 0.5648 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.1568, allocations: 86.19 kB / 0.5648 GB, free: 12.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.157, allocations: 330.8 kB / 0.5652 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.1572, allocations: 101.1 kB / 0.5653 GB, free: 12.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.1574, allocations: 151.8 kB / 0.5654 GB, free: 11.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.1579, allocations: 287.2 kB / 0.5657 GB, free: 11.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1579, allocations: 0 / 0.5657 GB, free: 11.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006147/0.1585, allocations: 366.5 kB / 0.566 GB, free: 11.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1586, allocations: 5.875 kB / 0.566 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1586, allocations: 0 / 0.566 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.1586, allocations: 7.938 kB / 0.566 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006413/0.1592, allocations: 187.8 kB / 0.5662 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1592, allocations: 7.938 kB / 0.5662 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.1593, allocations: 16 kB / 0.5662 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.1594, allocations: 12.25 kB / 0.5663 GB, free: 11.11 MB / 430.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.0001509/0.1595, allocations: 145.8 kB / 0.5664 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.1596, allocations: 31.78 kB / 0.5664 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.1597, allocations: 46.3 kB / 0.5665 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.1597, allocations: 8 kB / 0.5665 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1597, allocations: 4 kB / 0.5665 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.1597, allocations: 3.984 kB / 0.5665 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.1614, allocations: 0.9571 MB / 0.5674 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1614, allocations: 0 / 0.5674 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006018/0.162, allocations: 175.8 kB / 0.5676 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.162, allocations: 4 kB / 0.5676 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.162, allocations: 8 kB / 0.5676 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.162, allocations: 8 kB / 0.5676 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.162, allocations: 0 / 0.5676 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/0.1626, allocations: 483.7 kB / 0.5681 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.1627, allocations: 101 kB / 0.5682 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.1627, allocations: 8 kB / 0.5682 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.1629, allocations: 16 kB / 0.5682 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/0.1629, allocations: 40.5 kB / 0.5682 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.163, allocations: 19.94 kB / 0.5682 GB, free: 8.965 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.473e-05/0.163, allocations: 83.28 kB / 0.5683 GB, free: 8.883 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.163, allocations: 0 / 0.5683 GB, free: 8.883 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003191/0.1633, allocations: 68 kB / 0.5684 GB, free: 8.816 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 (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.001247/0.1646, allocations: 1.177 MB / 0.5695 GB, free: 7.617 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005738/0.1652, allocations: 304.4 kB / 0.5698 GB, free: 7.316 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1652, allocations: 0 / 0.5698 GB, free: 7.316 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.1654, allocations: 171.1 kB / 0.57 GB, free: 7.152 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.1657, allocations: 28.92 kB / 0.57 GB, free: 7.125 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.1691, allocations: 2.695 MB / 0.5726 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.1694, allocations: 0.7771 MB / 0.5734 GB, free: 3.543 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.1696, allocations: 40.25 kB / 0.5734 GB, free: 3.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.1698, allocations: 111.3 kB / 0.5736 GB, free: 3.391 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1698, allocations: 0 / 0.5736 GB, free: 3.391 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.1916, allocations: 4.895 MB / 0.5783 GB, free: 14.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.782/8.973, allocations: 7.922 kB / 0.5783 GB, free: 14.57 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 12.166456707986072]