Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001566/0.001566, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001686/0.001686, allocations: 210.9 kB / 23.73 MB, free: 4.387 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.599/1.599, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2313/0.2313, allocations: 44.93 MB / 358.8 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 67.91 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4083, allocations: 65.47 MB / 0.5575 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004386/0.4127, allocations: 2.032 MB / 0.5595 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002857/0.4156, allocations: 1.274 MB / 0.5607 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.4157, allocations: 4 kB / 0.5607 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.264e-05/0.4158, allocations: 23.67 kB / 0.5607 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.4159, allocations: 35.7 kB / 0.5608 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.4165, allocations: 199.3 kB / 0.5609 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.4167, allocations: 180 kB / 0.5611 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.4169, allocations: 83.88 kB / 0.5612 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.4171, allocations: 87.64 kB / 0.5613 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.4172, allocations: 79.55 kB / 0.5614 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.4173, allocations: 16 kB / 0.5614 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002804/0.4175, allocations: 139.9 kB / 0.5615 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.88e-05/0.4176, allocations: 55.77 kB / 0.5616 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.215e-05/0.4177, allocations: 71.61 kB / 0.5616 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004623/0.4181, allocations: 324.9 kB / 0.5619 GB, free: 2.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4181, allocations: 0 / 0.5619 GB, free: 2.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4181, allocations: 0 / 0.5619 GB, free: 2.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.4182, allocations: 0 / 0.5619 GB, free: 2.875 MB / 398.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.0007118/0.4189, allocations: 469.5 kB / 0.5624 GB, free: 2.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4189, allocations: 8.031 kB / 0.5624 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.42, allocations: 88.67 kB / 0.5625 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.4203, allocations: 154.2 kB / 0.5626 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.4203, allocations: 21.03 kB / 0.5626 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.4204, allocations: 24.38 kB / 0.5627 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.4207, allocations: 210.4 kB / 0.5629 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.4207, allocations: 0 / 0.5629 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.4208, allocations: 8 kB / 0.5629 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.4208, allocations: 8 kB / 0.5629 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.4211, allocations: 154.5 kB / 0.563 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008305/0.4219, allocations: 472.8 kB / 0.5635 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005617/0.4225, allocations: 211.9 kB / 0.5637 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.4226, allocations: 65.28 kB / 0.5637 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.4226, allocations: 4.234 kB / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.4227, allocations: 38.73 kB / 0.5638 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.353e-06/0.4227, allocations: 0 / 0.5638 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005275/0.4232, allocations: 222.9 kB / 0.564 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.4233, allocations: 51.41 kB / 0.5641 GB, free: 0.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.4234, allocations: 105.8 kB / 0.5642 GB, free: 480 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.4234, allocations: 37.7 kB / 0.5642 GB, free: 436 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.839e-05/0.4235, allocations: 132.7 kB / 0.5643 GB, free: 300 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.4236, allocations: 91.17 kB / 0.5644 GB, free: 208 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.4237, allocations: 49.69 kB / 0.5644 GB, free: 152 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.4239, allocations: 318.8 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.424, allocations: 43.97 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.237e-05/0.4241, allocations: 41.84 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.4243, allocations: 117.3 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4243, allocations: 0 / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003013/0.4246, allocations: 169.5 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.4246, allocations: 14.44 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4246, allocations: 0 / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.4247, allocations: 3.984 kB / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.425, allocations: 99.89 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.4251, allocations: 0 / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.695e-05/0.4251, allocations: 11.89 kB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.4252, allocations: 23.92 kB / 0.5653 GB, free: 15.31 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.0001281/0.4253, allocations: 121.8 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.4253, allocations: 19.84 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.4254, allocations: 21.62 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4254, allocations: 4 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4254, allocations: 0 / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4254, allocations: 0 / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.4257, allocations: 185.1 kB / 0.5656 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4257, allocations: 3.938 kB / 0.5656 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/0.4261, allocations: 107.9 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.4261, allocations: 4 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.4261, allocations: 7.938 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4261, allocations: 256 / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4261, allocations: 4 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.4265, allocations: 275.6 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.4265, allocations: 15.84 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.4265, allocations: 15.94 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.577e-05/0.4266, allocations: 4 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.4267, allocations: 19.95 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.4267, allocations: 8 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.562e-05/0.4267, allocations: 79.28 kB / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4267, allocations: 0 / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.427, allocations: 47.89 kB / 0.5662 GB, free: 14.32 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.0001268/0.4272, allocations: 103.1 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003202/0.4275, allocations: 131.9 kB / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4275, allocations: 0 / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.4276, allocations: 67.91 kB / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.4279, allocations: 12 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008531/0.4287, allocations: 481.7 kB / 0.5669 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.4288, allocations: 120.6 kB / 0.567 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.4289, allocations: 25.34 kB / 0.5671 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.429, allocations: 15.44 kB / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.429, allocations: 0 / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of Templates: time 0.004024/0.433, allocations: 0.943 MB / 0.568 GB, free: 12.4 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.491272535175085]