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.001675/0.001675, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001518/0.001518, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2384/0.2384, allocations: 46.92 MB / 361.6 MB, free: 4.273 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.001931/0.001931, allocations: 59.89 kB / 0.4969 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3651, allocations: 66.03 MB / 0.5614 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00376/0.3688, allocations: 2.148 MB / 0.5635 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.3713, allocations: 1.398 MB / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.3714, allocations: 8 kB / 0.5649 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.667e-05/0.3714, allocations: 27.66 kB / 0.5649 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.3716, allocations: 39.66 kB / 0.565 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005602/0.3721, allocations: 187.3 kB / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.3724, allocations: 188 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.3726, allocations: 89.7 kB / 0.5654 GB, free: 380 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.3728, allocations: 87.66 kB / 0.5655 GB, free: 292 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.3729, allocations: 91.53 kB / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.3729, allocations: 20 kB / 0.5656 GB, free: 180 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/0.3732, allocations: 143.9 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.3733, allocations: 47.78 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.875e-05/0.3734, allocations: 91.47 kB / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.3738, allocations: 318.6 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3738, allocations: 0 / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.3738, allocations: 0 / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.3738, allocations: 7.938 kB / 0.5662 GB, free: 15.58 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.0006087/0.3744, allocations: 465.5 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3745, allocations: 8.031 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.867e-05/0.3745, allocations: 32.7 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.3746, allocations: 91.53 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009524/0.3756, allocations: 92.69 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.3759, allocations: 166.1 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.3759, allocations: 25.38 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/0.3759, allocations: 40.36 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.3764, allocations: 270.5 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3764, allocations: 11.89 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.3764, allocations: 16 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.3765, allocations: 8 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.3768, allocations: 211.8 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.3779, allocations: 0.6697 MB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007177/0.3786, allocations: 341.2 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.3788, allocations: 134.6 kB / 0.5687 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.3789, allocations: 8.438 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.3789, allocations: 35 kB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 1.773e-06/0.3789, allocations: 0 / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=67): time 0.00172/0.3806, allocations: 0.7476 MB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.3807, allocations: 60.06 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.295e-05/0.3807, allocations: 109.9 kB / 0.5696 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.3808, allocations: 37.7 kB / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.3809, allocations: 137.7 kB / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.381, allocations: 234 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.3812, allocations: 82.34 kB / 0.5701 GB, free: 11.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3813, allocations: 338.8 kB / 0.5704 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.3815, allocations: 97.25 kB / 0.5705 GB, free: 10.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.3818, allocations: 156.7 kB / 0.5706 GB, free: 10.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.3823, allocations: 279.3 kB / 0.5709 GB, free: 10.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3823, allocations: 0 / 0.5709 GB, free: 10.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006302/0.3829, allocations: 374.4 kB / 0.5713 GB, free: 10.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.3829, allocations: 8 kB / 0.5713 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3829, allocations: 0 / 0.5713 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3829, allocations: 11.94 kB / 0.5713 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006267/0.3836, allocations: 179.8 kB / 0.5714 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.3836, allocations: 7.938 kB / 0.5715 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.6e-05/0.3837, allocations: 15.98 kB / 0.5715 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.3837, allocations: 16 kB / 0.5715 GB, free: 9.938 MB / 414.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.0001498/0.3839, allocations: 153.7 kB / 0.5716 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.3839, allocations: 23.86 kB / 0.5717 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.384, allocations: 50.23 kB / 0.5717 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.384, allocations: 8 kB / 0.5717 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.384, allocations: 3.938 kB / 0.5717 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.384, allocations: 3.984 kB / 0.5717 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.3857, allocations: 0.9195 MB / 0.5726 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3857, allocations: 0 / 0.5726 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000582/0.3863, allocations: 179.8 kB / 0.5728 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.3863, allocations: 8 kB / 0.5728 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.3863, allocations: 8 kB / 0.5728 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3863, allocations: 4 kB / 0.5728 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3863, allocations: 0 / 0.5728 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000646/0.387, allocations: 482.2 kB / 0.5733 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.387, allocations: 19.86 kB / 0.5733 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.387, allocations: 16 kB / 0.5733 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.3871, allocations: 12.25 kB / 0.5733 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.3872, allocations: 36.58 kB / 0.5733 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.3872, allocations: 20 kB / 0.5734 GB, free: 7.934 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.292e-05/0.3873, allocations: 91.2 kB / 0.5734 GB, free: 7.844 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3873, allocations: 0 / 0.5734 GB, free: 7.844 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000316/0.3876, allocations: 72 kB / 0.5735 GB, free: 7.773 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 (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.001209/0.3888, allocations: 1.192 MB / 0.5747 GB, free: 6.559 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005411/0.3893, allocations: 297.6 kB / 0.575 GB, free: 6.266 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3894, allocations: 4 kB / 0.575 GB, free: 6.262 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002659/0.3896, allocations: 163.7 kB / 0.5751 GB, free: 6.102 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.3899, allocations: 34.64 kB / 0.5752 GB, free: 6.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.3932, allocations: 2.698 MB / 0.5778 GB, free: 3.285 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005523/0.3938, allocations: 0.7771 MB / 0.5786 GB, free: 2.484 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.3939, allocations: 40.25 kB / 0.5786 GB, free: 2.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.3941, allocations: 99.41 kB / 0.5787 GB, free: 2.348 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3941, allocations: 3.938 kB / 0.5787 GB, free: 2.344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/0.4202, allocations: 5.29 MB / 0.5839 GB, free: 13.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.11, allocations: 10.89 kB / 0.5839 GB, free: 13.18 MB / 430.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: 15.363253695017193]