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.001466/0.001466, 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.001685/0.001685, allocations: 203.6 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.662/1.662, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2628/0.2628, allocations: 46.95 MB / 360.9 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 179] 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: 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.1.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.1.0_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 67.89 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3866, allocations: 66.03 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003554/0.3902, allocations: 2.035 MB / 0.5631 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.3925, allocations: 1.27 MB / 0.5643 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.982e-05/0.3926, allocations: 4 kB / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.579e-05/0.3927, allocations: 31.66 kB / 0.5644 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.3928, allocations: 35.66 kB / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.3933, allocations: 199.3 kB / 0.5646 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.3936, allocations: 172.1 kB / 0.5647 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.3938, allocations: 91.88 kB / 0.5648 GB, free: 312 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.394, allocations: 91.58 kB / 0.5649 GB, free: 220 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.3941, allocations: 91.48 kB / 0.565 GB, free: 128 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.3941, allocations: 20 kB / 0.565 GB, free: 108 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.3944, allocations: 151.9 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.3944, allocations: 43.83 kB / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.474e-05/0.3945, allocations: 71.61 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.395, allocations: 328.9 kB / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.395, allocations: 0 / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.395, allocations: 4 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.395, allocations: 0 / 0.5656 GB, free: 15.52 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.0006282/0.3956, allocations: 461.5 kB / 0.566 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3957, allocations: 12.03 kB / 0.5661 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009301/0.3966, allocations: 76.73 kB / 0.5661 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.3969, allocations: 162.1 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.3969, allocations: 17.03 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.397, allocations: 28.38 kB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.3973, allocations: 206.4 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3974, allocations: 4 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.3974, allocations: 12 kB / 0.5665 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.3974, allocations: 8 kB / 0.5665 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.3977, allocations: 142.5 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008649/0.3985, allocations: 480.8 kB / 0.5671 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/0.3991, allocations: 215.8 kB / 0.5673 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.3992, allocations: 61.3 kB / 0.5674 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.3992, allocations: 240 / 0.5674 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.3993, allocations: 42.73 kB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.192e-06/0.3993, allocations: 0 / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004921/0.3998, allocations: 219.9 kB / 0.5677 GB, free: 13.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.3998, allocations: 59.34 kB / 0.5677 GB, free: 13.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/0.3999, allocations: 105.8 kB / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.3999, allocations: 29.7 kB / 0.5678 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.4, allocations: 136.7 kB / 0.568 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.4001, allocations: 99.11 kB / 0.5681 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/0.4002, allocations: 37.7 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4004, allocations: 322.8 kB / 0.5684 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.4005, allocations: 39.98 kB / 0.5684 GB, free: 12.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.495e-05/0.4006, allocations: 53.83 kB / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.4008, allocations: 117.3 kB / 0.5686 GB, free: 12.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4008, allocations: 0 / 0.5686 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002865/0.4011, allocations: 161.6 kB / 0.5688 GB, free: 12.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.4011, allocations: 11.92 kB / 0.5688 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4011, allocations: 0 / 0.5688 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4011, allocations: 0 / 0.5688 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.4015, allocations: 103.9 kB / 0.5689 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.4015, allocations: 4 kB / 0.5689 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.203e-05/0.4016, allocations: 19.88 kB / 0.5689 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.4016, allocations: 4 kB / 0.5689 GB, free: 11.97 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.000121/0.4017, allocations: 129.8 kB / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.4018, allocations: 15.84 kB / 0.569 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.916e-05/0.4018, allocations: 21.62 kB / 0.5691 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.4018, allocations: 4 kB / 0.5691 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4018, allocations: 0 / 0.5691 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.4018, allocations: 3.984 kB / 0.5691 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.4021, allocations: 189.2 kB / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4021, allocations: 0 / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.4025, allocations: 99.88 kB / 0.5693 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4025, allocations: 0 / 0.5693 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.4025, allocations: 7.938 kB / 0.5694 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4025, allocations: 4 kB / 0.5694 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4025, allocations: 256 / 0.5694 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.4029, allocations: 275.6 kB / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.4029, allocations: 15.84 kB / 0.5696 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.4029, allocations: 15.94 kB / 0.5696 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.286e-05/0.403, allocations: 15.92 kB / 0.5697 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.4031, allocations: 19.91 kB / 0.5697 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.4031, allocations: 4 kB / 0.5697 GB, free: 11.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.387e-05/0.4031, allocations: 87.22 kB / 0.5698 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4031, allocations: 0 / 0.5698 GB, free: 11.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.4034, allocations: 43.89 kB / 0.5698 GB, free: 10.98 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.0001077/0.4035, allocations: 99.25 kB / 0.5699 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.4038, allocations: 123.9 kB / 0.57 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4038, allocations: 0 / 0.57 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.4039, allocations: 75.83 kB / 0.5701 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.4041, allocations: 14.66 kB / 0.5701 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007932/0.4049, allocations: 481.7 kB / 0.5706 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.4051, allocations: 128.6 kB / 0.5707 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.759e-05/0.4052, allocations: 13.41 kB / 0.5707 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.4052, allocations: 15.44 kB / 0.5707 GB, free: 9.992 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4052, allocations: 0 / 0.5707 GB, free: 9.992 MB / 414.1 MB Notification: Performance of Templates: time 0.004005/0.4092, allocations: 1.038 MB / 0.5717 GB, free: 8.961 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/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: 5.528895725961775]