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.001714/0.001714, allocations: 112.6 kB / 21.18 MB, free: 0.7422 MB / 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.001956/0.001956, allocations: 212.2 kB / 24.48 MB, free: 4.191 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.408/1.408, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2179/0.2179, allocations: 46.89 MB / 361.1 MB, free: 4.637 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.00221/0.00221, allocations: 79.88 kB / 0.4968 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2889, allocations: 65.99 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003394/0.2923, allocations: 2.141 MB / 0.5633 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.2945, allocations: 1.406 MB / 0.5647 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.831e-05/0.2946, allocations: 4 kB / 0.5647 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.72e-05/0.2947, allocations: 19.73 kB / 0.5647 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.2948, allocations: 43.64 kB / 0.5648 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.2953, allocations: 195.2 kB / 0.5649 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.2955, allocations: 184 kB / 0.5651 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.2957, allocations: 87.31 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.2959, allocations: 87.64 kB / 0.5653 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.296, allocations: 87.55 kB / 0.5654 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.296, allocations: 16 kB / 0.5654 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002761/0.2963, allocations: 155.9 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.2963, allocations: 39.84 kB / 0.5656 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.998e-05/0.2964, allocations: 99.41 kB / 0.5657 GB, free: 468 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000416/0.2968, allocations: 317.3 kB / 0.566 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2968, allocations: 0 / 0.566 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.2968, allocations: 0 / 0.566 GB, free: 152 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.2968, allocations: 0 / 0.566 GB, free: 152 kB / 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.0006254/0.2975, allocations: 0.5298 MB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.2975, allocations: 8.031 kB / 0.5665 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009436/0.2985, allocations: 80.73 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.2987, allocations: 216 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.2988, allocations: 20.94 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.2988, allocations: 24.38 kB / 0.5668 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.2992, allocations: 209.2 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2992, allocations: 4 kB / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.2992, allocations: 8 kB / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.2992, allocations: 8 kB / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.2995, allocations: 142.2 kB / 0.5672 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008594/0.3003, allocations: 0.5929 MB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.3009, allocations: 215.4 kB / 0.568 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.301, allocations: 61.3 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.301, allocations: 4.172 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.3011, allocations: 42.8 kB / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.603e-06/0.3011, allocations: 0 / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004858/0.3016, allocations: 216.5 kB / 0.5683 GB, free: 13.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.3016, allocations: 55.39 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3017, allocations: 105.9 kB / 0.5684 GB, free: 13.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.3017, allocations: 33.7 kB / 0.5684 GB, free: 13.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.3018, allocations: 136.7 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.662e-05/0.3019, allocations: 99.16 kB / 0.5687 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-05/0.3019, allocations: 41.7 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3021, allocations: 318.8 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.901e-05/0.3022, allocations: 47.97 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.991e-05/0.3023, allocations: 44.91 kB / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.3025, allocations: 121.3 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3025, allocations: 0 / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002842/0.3028, allocations: 169.5 kB / 0.5694 GB, free: 12.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3028, allocations: 6.188 kB / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3028, allocations: 4 kB / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3028, allocations: 0 / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.3032, allocations: 99.94 kB / 0.5695 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3032, allocations: 0 / 0.5695 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.3033, allocations: 19.89 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.3033, allocations: 4 kB / 0.5695 GB, free: 12.29 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.0001258/0.3034, allocations: 129.8 kB / 0.5696 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.3034, allocations: 15.84 kB / 0.5696 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.396e-05/0.3035, allocations: 25.53 kB / 0.5697 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.3035, allocations: 3.984 kB / 0.5697 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3035, allocations: 0 / 0.5697 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.3036, allocations: 89 kB / 0.5698 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.3036, allocations: 4 kB / 0.5698 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.3037, allocations: 12 kB / 0.5698 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.3037, allocations: 19.97 kB / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000671/0.3044, allocations: 348.9 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003589/0.3048, allocations: 350.6 kB / 0.5705 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001163/0.3049, allocations: 59.95 kB / 0.5705 GB, free: 11.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.999e-05/0.305, allocations: 87.27 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of Backend: time 3.51e-07/0.305, allocations: 0 / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006636/0.3056, allocations: 241.9 kB / 0.5708 GB, free: 10.87 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008729/0.3065, allocations: 0.8949 MB / 0.5717 GB, free: 9.926 MB / 414.1 MB Notification: Performance of Templates: time 0.00647/0.313, allocations: 2.724 MB / 0.5744 GB, free: 7.199 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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.965951350983232]