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.001725/0.001725, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.002045/0.002045, allocations: 212.4 kB / 23.74 MB, free: 4.672 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.541/1.541, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2485/0.2485, allocations: 46.92 MB / 360.8 MB, free: 4.172 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.002634/0.002634, allocations: 83.86 kB / 0.4962 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3816, allocations: 66.09 MB / 0.5608 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00364/0.3853, allocations: 2.137 MB / 0.5628 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002672/0.3879, allocations: 1.402 MB / 0.5642 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.3881, allocations: 4 kB / 0.5642 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.494e-05/0.3882, allocations: 27.66 kB / 0.5642 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.3883, allocations: 39.66 kB / 0.5643 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007263/0.3891, allocations: 195.3 kB / 0.5645 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.3893, allocations: 180.1 kB / 0.5646 GB, free: 276 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.3896, allocations: 95.02 kB / 0.5647 GB, free: 184 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.3898, allocations: 91.64 kB / 0.5648 GB, free: 92 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.3899, allocations: 91.48 kB / 0.5649 GB, free: 0 / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.3899, allocations: 16.05 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.3902, allocations: 147.9 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.3903, allocations: 47.83 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.386e-05/0.3904, allocations: 95.41 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004825/0.3908, allocations: 314.6 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.3909, allocations: 4 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3909, allocations: 4 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.3909, allocations: 0 / 0.5655 GB, free: 15.38 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.0006495/0.3915, allocations: 461.5 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3916, allocations: 12.03 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.3917, allocations: 87.2 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009304/0.3926, allocations: 80.69 kB / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.3929, allocations: 162.2 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.393, allocations: 25.03 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.393, allocations: 28.38 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.3935, allocations: 234.2 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3935, allocations: 0 / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.3935, allocations: 12 kB / 0.5666 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.3935, allocations: 8 kB / 0.5666 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.3939, allocations: 170.5 kB / 0.5667 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.395, allocations: 0.6053 MB / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.3955, allocations: 219.4 kB / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.3957, allocations: 65.23 kB / 0.5676 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.3957, allocations: 4.234 kB / 0.5676 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.3957, allocations: 34.8 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.813e-06/0.3957, allocations: 0 / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005434/0.3963, allocations: 219.8 kB / 0.5678 GB, free: 12.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.3963, allocations: 59.34 kB / 0.5679 GB, free: 12.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.3965, allocations: 101.8 kB / 0.568 GB, free: 12.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.3965, allocations: 33.7 kB / 0.568 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.3966, allocations: 148.5 kB / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.3967, allocations: 99.16 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.3968, allocations: 37.7 kB / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.397, allocations: 326.8 kB / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.3971, allocations: 39.98 kB / 0.5686 GB, free: 11.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-05/0.3972, allocations: 52.89 kB / 0.5687 GB, free: 11.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.3974, allocations: 117.3 kB / 0.5688 GB, free: 11.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3974, allocations: 0 / 0.5688 GB, free: 11.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003055/0.3977, allocations: 173.5 kB / 0.569 GB, free: 11.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.3978, allocations: 4 kB / 0.569 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.3978, allocations: 0 / 0.569 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3978, allocations: 4 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.3981, allocations: 103.8 kB / 0.5691 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3982, allocations: 4 kB / 0.5691 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.47e-05/0.3982, allocations: 11.95 kB / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3982, allocations: 8.25 kB / 0.5691 GB, free: 11.5 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.0001348/0.3984, allocations: 125.8 kB / 0.5692 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.3984, allocations: 15.91 kB / 0.5692 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.3985, allocations: 25.62 kB / 0.5693 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.3985, allocations: 7.938 kB / 0.5693 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.3985, allocations: 4 kB / 0.5693 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.3985, allocations: 3.984 kB / 0.5693 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.3988, allocations: 248.6 kB / 0.5695 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3988, allocations: 0 / 0.5695 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.3992, allocations: 103.9 kB / 0.5696 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3992, allocations: 0 / 0.5696 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3992, allocations: 4 kB / 0.5696 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3992, allocations: 7.938 kB / 0.5696 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3992, allocations: 3.938 kB / 0.5696 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.3996, allocations: 275.6 kB / 0.5699 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.3996, allocations: 19.84 kB / 0.5699 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.3996, allocations: 8 kB / 0.5699 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.3997, allocations: 19.86 kB / 0.5699 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.3998, allocations: 15.97 kB / 0.5699 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.3998, allocations: 4 kB / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.558e-05/0.3998, allocations: 83.28 kB / 0.57 GB, free: 10.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3998, allocations: 0 / 0.57 GB, free: 10.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.4001, allocations: 55.78 kB / 0.5701 GB, free: 10.41 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.0008802/0.401, allocations: 0.8724 MB / 0.5709 GB, free: 9.512 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.4013, allocations: 128.3 kB / 0.5711 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4013, allocations: 0 / 0.5711 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.4014, allocations: 72.31 kB / 0.5711 GB, free: 9.316 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.4017, allocations: 15.94 kB / 0.5711 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.4044, allocations: 1.976 MB / 0.5731 GB, free: 7.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.4049, allocations: 0.7473 MB / 0.5738 GB, free: 6.477 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.405, allocations: 21.41 kB / 0.5738 GB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.4051, allocations: 63.42 kB / 0.5739 GB, free: 6.395 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4051, allocations: 0 / 0.5739 GB, free: 6.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.4346, allocations: 2.986 MB / 0.5768 GB, free: 3.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.52, allocations: 12.05 kB / 0.5768 GB, free: 3.488 MB / 414.1 MB " [Timeout remaining time 648] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 14.739717338932678]