Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001845/0.001845, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.002218/0.002218, allocations: 212.5 kB / 25.13 MB, free: 3.582 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.397/1.397, allocations: 230.4 MB / 258.7 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2191/0.2191, allocations: 46.93 MB / 362 MB, free: 4.223 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-beta.om/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: 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-beta.om_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-beta.om_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002353/0.002353, allocations: 87.78 kB / 0.4978 GB, free: 7.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2717, allocations: 66.08 MB / 0.5623 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003416/0.2752, allocations: 2.128 MB / 0.5644 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.2774, allocations: 1.398 MB / 0.5658 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.38e-05/0.2774, allocations: 4 kB / 0.5658 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.324e-05/0.2775, allocations: 27.66 kB / 0.5658 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.2776, allocations: 35.59 kB / 0.5659 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.2781, allocations: 199.3 kB / 0.566 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.2783, allocations: 176.1 kB / 0.5662 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.2785, allocations: 91.88 kB / 0.5663 GB, free: 180 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.2787, allocations: 87.64 kB / 0.5664 GB, free: 92 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.2788, allocations: 91.48 kB / 0.5665 GB, free: 0 / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.2788, allocations: 16.05 kB / 0.5665 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.2791, allocations: 151.9 kB / 0.5666 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.194e-05/0.2791, allocations: 47.83 kB / 0.5667 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.059e-05/0.2792, allocations: 91.47 kB / 0.5668 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004186/0.2796, allocations: 324.9 kB / 0.5671 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2796, allocations: 4 kB / 0.5671 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2796, allocations: 3.938 kB / 0.5671 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2796, allocations: 0 / 0.5671 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.0006082/0.2802, allocations: 461.5 kB / 0.5675 GB, free: 14.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.2803, allocations: 12.03 kB / 0.5675 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008939/0.2812, allocations: 76.73 kB / 0.5676 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.2814, allocations: 162.2 kB / 0.5678 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.2814, allocations: 21.03 kB / 0.5678 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.2815, allocations: 24.38 kB / 0.5678 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.2818, allocations: 206.4 kB / 0.568 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2818, allocations: 0 / 0.568 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.2819, allocations: 12 kB / 0.568 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.2819, allocations: 8 kB / 0.568 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.2821, allocations: 146.5 kB / 0.5682 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008342/0.283, allocations: 0.547 MB / 0.5687 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.2835, allocations: 219.7 kB / 0.5689 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.2836, allocations: 61.3 kB / 0.569 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.2836, allocations: 4.172 kB / 0.569 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.2837, allocations: 38.8 kB / 0.569 GB, free: 13.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.423e-06/0.2837, allocations: 0 / 0.569 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004697/0.2841, allocations: 219.9 kB / 0.5692 GB, free: 13.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.2842, allocations: 55.41 kB / 0.5693 GB, free: 13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.744e-05/0.2843, allocations: 105.8 kB / 0.5694 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.2843, allocations: 29.64 kB / 0.5694 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.2844, allocations: 140.7 kB / 0.5695 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.181e-05/0.2845, allocations: 95.16 kB / 0.5696 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.396e-05/0.2845, allocations: 41.7 kB / 0.5697 GB, free: 12.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2847, allocations: 318.8 kB / 0.57 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.2848, allocations: 47.97 kB / 0.57 GB, free: 12.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.136e-05/0.2849, allocations: 49.59 kB / 0.5701 GB, free: 12.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.2851, allocations: 113.3 kB / 0.5702 GB, free: 12.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2851, allocations: 4 kB / 0.5702 GB, free: 12.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002833/0.2854, allocations: 165.5 kB / 0.5703 GB, free: 11.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2854, allocations: 6.344 kB / 0.5703 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2854, allocations: 0 / 0.5703 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.2854, allocations: 7.984 kB / 0.5703 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.2858, allocations: 99.89 kB / 0.5704 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2858, allocations: 0 / 0.5704 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.519e-05/0.2858, allocations: 15.89 kB / 0.5704 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.2858, allocations: 7.984 kB / 0.5705 GB, free: 11.74 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.0001194/0.286, allocations: 133.7 kB / 0.5706 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.286, allocations: 19.84 kB / 0.5706 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.848e-05/0.2861, allocations: 29.62 kB / 0.5706 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.2861, allocations: 3.938 kB / 0.5706 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2861, allocations: 0 / 0.5706 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2861, allocations: 4 kB / 0.5706 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.2864, allocations: 236.5 kB / 0.5709 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2864, allocations: 4.188 kB / 0.5709 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.2867, allocations: 103.9 kB / 0.571 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2868, allocations: 7.938 kB / 0.571 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.2868, allocations: 11.98 kB / 0.571 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2868, allocations: 0 / 0.571 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2868, allocations: 0 / 0.571 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.2871, allocations: 275.6 kB / 0.5712 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.2871, allocations: 19.78 kB / 0.5713 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.2872, allocations: 8 kB / 0.5713 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.03e-05/0.2872, allocations: 8 kB / 0.5713 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.2873, allocations: 15.91 kB / 0.5713 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.2873, allocations: 8 kB / 0.5713 GB, free: 10.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.048e-05/0.2874, allocations: 87.27 kB / 0.5714 GB, free: 10.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2874, allocations: 0 / 0.5714 GB, free: 10.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.2876, allocations: 47.89 kB / 0.5714 GB, free: 10.67 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 9.287e-05/0.2877, allocations: 91.25 kB / 0.5715 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002832/0.288, allocations: 127.9 kB / 0.5716 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.288, allocations: 0 / 0.5716 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.2881, allocations: 75.83 kB / 0.5717 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.2884, allocations: 15.94 kB / 0.5717 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000745/0.2891, allocations: 481.8 kB / 0.5722 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.2895, allocations: 0.7317 MB / 0.5729 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.478e-05/0.2896, allocations: 21.41 kB / 0.5729 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.2896, allocations: 15.44 kB / 0.5729 GB, free: 9.062 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2896, allocations: 0 / 0.5729 GB, free: 9.062 MB / 414.1 MB Notification: Performance of Templates: time 0.003736/0.2933, allocations: 1.074 MB / 0.574 GB, free: 7.988 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 4.61807670397684]