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.00132/0.00132, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001475/0.001475, allocations: 222.1 kB / 23.73 MB, free: 4.164 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2381/0.2381, allocations: 46.96 MB / 360.9 MB, free: 3.988 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.002091/0.002091, allocations: 67.89 kB / 0.4961 GB, free: 7.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3315, allocations: 66.04 MB / 0.5606 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003489/0.335, allocations: 2.04 MB / 0.5626 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.3373, allocations: 1.27 MB / 0.5638 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.3374, allocations: 7.938 kB / 0.5638 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.827e-05/0.3375, allocations: 23.72 kB / 0.5639 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.3376, allocations: 35.66 kB / 0.5639 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005704/0.3382, allocations: 203.2 kB / 0.5641 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.3385, allocations: 176.1 kB / 0.5643 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.3387, allocations: 85.7 kB / 0.5643 GB, free: 316 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.3389, allocations: 87.64 kB / 0.5644 GB, free: 228 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.339, allocations: 79.48 kB / 0.5645 GB, free: 148 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.339, allocations: 16 kB / 0.5645 GB, free: 132 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003206/0.3394, allocations: 144 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/0.3394, allocations: 51.78 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.064e-05/0.3395, allocations: 83.52 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.3399, allocations: 314.6 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3399, allocations: 3.938 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3399, allocations: 0 / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.3399, allocations: 4 kB / 0.5651 GB, free: 15.54 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.0006648/0.3406, allocations: 461.5 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3407, allocations: 8.031 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.3408, allocations: 87.2 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009253/0.3417, allocations: 88.69 kB / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.342, allocations: 162.2 kB / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.342, allocations: 21.03 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.3421, allocations: 28.38 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.3425, allocations: 234.2 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3425, allocations: 0 / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.3425, allocations: 16 kB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3426, allocations: 8 kB / 0.5662 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.3429, allocations: 166.5 kB / 0.5663 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009263/0.3438, allocations: 0.5625 MB / 0.5669 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005184/0.3443, allocations: 215.9 kB / 0.5671 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.3444, allocations: 57.3 kB / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.3445, allocations: 4.234 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.3445, allocations: 38.8 kB / 0.5672 GB, free: 13.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.482e-06/0.3445, allocations: 0 / 0.5672 GB, free: 13.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005115/0.345, allocations: 215.8 kB / 0.5674 GB, free: 13.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.3451, allocations: 55.34 kB / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.062e-05/0.3452, allocations: 109.8 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.3452, allocations: 37.7 kB / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3453, allocations: 148.5 kB / 0.5677 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.6e-05/0.3454, allocations: 99.16 kB / 0.5678 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.461e-05/0.3455, allocations: 41.7 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3456, allocations: 322.8 kB / 0.5682 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.3457, allocations: 43.97 kB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.039e-05/0.3458, allocations: 45.84 kB / 0.5682 GB, free: 12.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.346, allocations: 117.3 kB / 0.5684 GB, free: 12.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.346, allocations: 256 / 0.5684 GB, free: 12.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003122/0.3464, allocations: 173.5 kB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3464, allocations: 4 kB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3464, allocations: 4 kB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.3464, allocations: 7.984 kB / 0.5685 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.3468, allocations: 103.8 kB / 0.5686 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3468, allocations: 0 / 0.5686 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.993e-05/0.3469, allocations: 15.95 kB / 0.5686 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.3469, allocations: 8 kB / 0.5687 GB, free: 11.7 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.000129/0.347, allocations: 125.8 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.347, allocations: 19.84 kB / 0.5688 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.732e-05/0.3471, allocations: 29.61 kB / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3471, allocations: 3.938 kB / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3471, allocations: 4 kB / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3471, allocations: 0 / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.3474, allocations: 232.6 kB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3475, allocations: 3.938 kB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.3478, allocations: 103.9 kB / 0.5692 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3478, allocations: 0 / 0.5692 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.3478, allocations: 8 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3478, allocations: 3.938 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3478, allocations: 0 / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.3482, allocations: 279.6 kB / 0.5694 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.3482, allocations: 19.84 kB / 0.5695 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.3482, allocations: 4 kB / 0.5695 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.3483, allocations: 15.92 kB / 0.5695 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.3484, allocations: 11.97 kB / 0.5695 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3484, allocations: 15.94 kB / 0.5695 GB, free: 10.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.485e-05/0.3484, allocations: 79.28 kB / 0.5696 GB, free: 10.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3484, allocations: 0 / 0.5696 GB, free: 10.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.3487, allocations: 59.78 kB / 0.5696 GB, free: 10.62 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.000836/0.3496, allocations: 0.8763 MB / 0.5705 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00028/0.3499, allocations: 123.9 kB / 0.5706 GB, free: 9.598 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3499, allocations: 0 / 0.5706 GB, free: 9.598 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.35, allocations: 76.78 kB / 0.5707 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.3502, allocations: 11.94 kB / 0.5707 GB, free: 9.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.3527, allocations: 1.977 MB / 0.5726 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.3528, allocations: 137.6 kB / 0.5727 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.56e-05/0.3529, allocations: 13.41 kB / 0.5728 GB, free: 7.289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.353, allocations: 67.42 kB / 0.5728 GB, free: 7.223 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.353, allocations: 0 / 0.5728 GB, free: 7.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.382, allocations: 3.215 MB / 0.576 GB, free: 4.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.51, allocations: 0 / 0.576 GB, free: 4.137 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.529608633834869]