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.005112/0.005112, allocations: 107.9 kB / 21.97 MB, free: 5.184 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.001372/0.001372, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.391/1.391, allocations: 230.5 MB / 258.9 MB, free: 8.012 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.2316/0.2316, allocations: 46.93 MB / 362.3 MB, free: 4.219 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.002396/0.002396, allocations: 83.8 kB / 0.4982 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3373, allocations: 66.08 MB / 0.5627 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003497/0.3408, allocations: 2.152 MB / 0.5648 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.3431, allocations: 1.398 MB / 0.5662 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.3432, allocations: 4 kB / 0.5662 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.183e-05/0.3433, allocations: 23.67 kB / 0.5662 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.3434, allocations: 39.66 kB / 0.5663 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005202/0.344, allocations: 203.2 kB / 0.5665 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.3442, allocations: 180.1 kB / 0.5666 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.3444, allocations: 83.84 kB / 0.5667 GB, free: 168 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.3446, allocations: 87.64 kB / 0.5668 GB, free: 80 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.3447, allocations: 91.48 kB / 0.5669 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.3447, allocations: 16 kB / 0.5669 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.3451, allocations: 159.9 kB / 0.5671 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.3451, allocations: 39.84 kB / 0.5671 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.235e-05/0.3452, allocations: 99.45 kB / 0.5672 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004362/0.3456, allocations: 320.9 kB / 0.5675 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3456, allocations: 0 / 0.5675 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3456, allocations: 0 / 0.5675 GB, free: 15.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3456, allocations: 0 / 0.5675 GB, free: 15.37 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.0006461/0.3463, allocations: 469.5 kB / 0.5679 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3463, allocations: 12.03 kB / 0.568 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009125/0.3472, allocations: 72.75 kB / 0.568 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.3475, allocations: 162.1 kB / 0.5682 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.3475, allocations: 17.03 kB / 0.5682 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.3476, allocations: 28.38 kB / 0.5682 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.348, allocations: 202.4 kB / 0.5684 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.348, allocations: 0 / 0.5684 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.348, allocations: 16 kB / 0.5684 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.348, allocations: 4 kB / 0.5684 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/0.3483, allocations: 146.5 kB / 0.5686 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008465/0.3491, allocations: 0.547 MB / 0.5691 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005263/0.3497, allocations: 220.2 kB / 0.5693 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.3498, allocations: 61.25 kB / 0.5694 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.3498, allocations: 8.156 kB / 0.5694 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.3499, allocations: 42.8 kB / 0.5694 GB, free: 13.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.522e-06/0.3499, allocations: 0 / 0.5694 GB, free: 13.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004713/0.3503, allocations: 211.9 kB / 0.5696 GB, free: 13.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.3504, allocations: 51.41 kB / 0.5697 GB, free: 13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.283e-05/0.3505, allocations: 105.8 kB / 0.5698 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.3505, allocations: 37.64 kB / 0.5698 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.3506, allocations: 136.7 kB / 0.5699 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.682e-05/0.3507, allocations: 99.16 kB / 0.57 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.116e-05/0.3508, allocations: 41.7 kB / 0.5701 GB, free: 12.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3509, allocations: 322.8 kB / 0.5704 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.351, allocations: 39.98 kB / 0.5704 GB, free: 12.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.585e-05/0.3511, allocations: 49.59 kB / 0.5705 GB, free: 12.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.3513, allocations: 121.3 kB / 0.5706 GB, free: 12.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3513, allocations: 0 / 0.5706 GB, free: 12.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000287/0.3516, allocations: 169.5 kB / 0.5708 GB, free: 11.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3516, allocations: 4 kB / 0.5708 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3516, allocations: 4 kB / 0.5708 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3517, allocations: 0 / 0.5708 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.352, allocations: 95.89 kB / 0.5708 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.352, allocations: 3.984 kB / 0.5709 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.411e-05/0.3521, allocations: 19.89 kB / 0.5709 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.3521, allocations: 7.984 kB / 0.5709 GB, free: 11.72 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.0001213/0.3522, allocations: 133.7 kB / 0.571 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.3523, allocations: 15.84 kB / 0.571 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.3523, allocations: 25.62 kB / 0.571 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3523, allocations: 0 / 0.571 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3523, allocations: 0 / 0.571 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3523, allocations: 11.92 kB / 0.5711 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.3526, allocations: 232.8 kB / 0.5713 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.3526, allocations: 11.94 kB / 0.5713 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000345/0.353, allocations: 103.9 kB / 0.5714 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.353, allocations: 0 / 0.5714 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.353, allocations: 8 kB / 0.5714 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.353, allocations: 0 / 0.5714 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.353, allocations: 3.938 kB / 0.5714 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.3533, allocations: 279.6 kB / 0.5717 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.3534, allocations: 19.78 kB / 0.5717 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.3534, allocations: 4 kB / 0.5717 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.923e-05/0.3535, allocations: 11.98 kB / 0.5717 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.3535, allocations: 15.91 kB / 0.5717 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.3535, allocations: 8 kB / 0.5717 GB, free: 10.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.305e-05/0.3536, allocations: 83.28 kB / 0.5718 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3536, allocations: 4 kB / 0.5718 GB, free: 10.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.3539, allocations: 47.89 kB / 0.5719 GB, free: 10.65 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.0001027/0.354, allocations: 91.25 kB / 0.5719 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003085/0.3543, allocations: 123.9 kB / 0.5721 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3543, allocations: 0 / 0.5721 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.3544, allocations: 75.83 kB / 0.5721 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.3547, allocations: 15.94 kB / 0.5721 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008618/0.3555, allocations: 0.4995 MB / 0.5726 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.3559, allocations: 0.7356 MB / 0.5734 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.356, allocations: 19.44 kB / 0.5734 GB, free: 9.027 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.356, allocations: 0 / 0.5734 GB, free: 9.027 MB / 414.1 MB Notification: Performance of Templates: time 0.003896/0.3599, allocations: 1.768 MB / 0.5751 GB, free: 7.254 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/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: 7.317883933894336]