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.001737/0.001737, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002153/0.002153, allocations: 201 kB / 23.73 MB, free: 4.379 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2342/0.2342, allocations: 46.95 MB / 360.9 MB, free: 4.012 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002569/0.002569, allocations: 71.89 kB / 0.4961 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3391, allocations: 66.02 MB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00357/0.3427, allocations: 2.042 MB / 0.5626 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.3452, allocations: 1.278 MB / 0.5638 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.3453, allocations: 11.94 kB / 0.5639 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.794e-05/0.3454, allocations: 19.73 kB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.3455, allocations: 35.66 kB / 0.5639 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.3462, allocations: 195.2 kB / 0.5641 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.3464, allocations: 180.1 kB / 0.5643 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.3466, allocations: 89.72 kB / 0.5644 GB, free: 348 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.3468, allocations: 83.7 kB / 0.5644 GB, free: 264 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.347, allocations: 99.48 kB / 0.5645 GB, free: 164 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.347, allocations: 12 kB / 0.5645 GB, free: 152 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.3473, allocations: 159.9 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.12e-05/0.3474, allocations: 39.8 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.647e-05/0.3474, allocations: 83.52 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.3479, allocations: 318.6 kB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3479, allocations: 0 / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3479, allocations: 0 / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3479, allocations: 0 / 0.5651 GB, free: 15.56 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.0006458/0.3485, allocations: 469.5 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.3486, allocations: 8.031 kB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.3487, allocations: 87.2 kB / 0.5657 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009091/0.3496, allocations: 80.7 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.35, allocations: 162.1 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.35, allocations: 21.03 kB / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.35, allocations: 32.38 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.3505, allocations: 242.2 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3505, allocations: 0 / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.3505, allocations: 15.94 kB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.3505, allocations: 8 kB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/0.3509, allocations: 158.5 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.3519, allocations: 0.5703 MB / 0.5669 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005248/0.3524, allocations: 207.8 kB / 0.5671 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.3526, allocations: 57.31 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3526, allocations: 8.219 kB / 0.5672 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.3526, allocations: 34.8 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.674e-06/0.3526, allocations: 0 / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004908/0.3531, allocations: 219.9 kB / 0.5674 GB, free: 13.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.3532, allocations: 59.34 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/0.3532, allocations: 105.8 kB / 0.5676 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.3533, allocations: 25.7 kB / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.3534, allocations: 156.5 kB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.98e-05/0.3535, allocations: 99.16 kB / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.3535, allocations: 37.72 kB / 0.5679 GB, free: 12.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3537, allocations: 322.8 kB / 0.5682 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.3538, allocations: 43.97 kB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.345e-05/0.3539, allocations: 57.83 kB / 0.5683 GB, free: 12.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.3541, allocations: 109.3 kB / 0.5684 GB, free: 12.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3541, allocations: 256 / 0.5684 GB, free: 12.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002809/0.3544, allocations: 173.5 kB / 0.5685 GB, free: 11.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3544, allocations: 4 kB / 0.5685 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3544, allocations: 4 kB / 0.5685 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3544, allocations: 0 / 0.5685 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.3548, allocations: 111.8 kB / 0.5686 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.3548, allocations: 4 kB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.895e-05/0.3549, allocations: 15.94 kB / 0.5687 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.3549, allocations: 4 kB / 0.5687 GB, free: 11.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.0001221/0.355, allocations: 133.8 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.3551, allocations: 11.91 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.3551, allocations: 21.62 kB / 0.5688 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.3551, allocations: 7.938 kB / 0.5688 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3551, allocations: 4 kB / 0.5688 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3551, allocations: 3.938 kB / 0.5688 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.3554, allocations: 244.6 kB / 0.5691 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3554, allocations: 0 / 0.5691 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.3558, allocations: 91.95 kB / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3558, allocations: 0 / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.3558, allocations: 7.984 kB / 0.5692 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.3558, allocations: 15.88 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3558, allocations: 0 / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.3562, allocations: 271.6 kB / 0.5694 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.3562, allocations: 23.83 kB / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.3562, allocations: 4 kB / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.171e-05/0.3563, allocations: 11.94 kB / 0.5695 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.3563, allocations: 15.97 kB / 0.5695 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.3564, allocations: 4 kB / 0.5695 GB, free: 10.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.88e-05/0.3564, allocations: 91.27 kB / 0.5696 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3564, allocations: 0 / 0.5696 GB, free: 10.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.3567, allocations: 55.78 kB / 0.5696 GB, free: 10.64 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.0007856/0.3575, allocations: 0.8685 MB / 0.5705 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002832/0.3577, allocations: 127.9 kB / 0.5706 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3577, allocations: 0 / 0.5706 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3579, allocations: 72.78 kB / 0.5707 GB, free: 9.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.3581, allocations: 22.58 kB / 0.5707 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.3604, allocations: 1.976 MB / 0.5726 GB, free: 7.477 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.3605, allocations: 137.6 kB / 0.5728 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.906e-05/0.3606, allocations: 21.41 kB / 0.5728 GB, free: 7.297 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.3607, allocations: 67.41 kB / 0.5729 GB, free: 7.23 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3607, allocations: 0 / 0.5729 GB, free: 7.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.3893, allocations: 3.314 MB / 0.5761 GB, free: 4.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.46, allocations: 0 / 0.5761 GB, free: 4.039 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.414795344986487]