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.001558/0.001558, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00173/0.00173, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.379/1.379, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2214/0.2214, allocations: 46.94 MB / 361.6 MB, free: 4.258 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+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.002087/0.002087, allocations: 63.91 kB / 0.4974 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3084, allocations: 66.03 MB / 0.5619 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003496/0.3119, allocations: 2.155 MB / 0.564 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.3142, allocations: 1.402 MB / 0.5654 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3143, allocations: 4 kB / 0.5654 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.749e-05/0.3144, allocations: 23.67 kB / 0.5654 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.3146, allocations: 39.64 kB / 0.5654 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.3151, allocations: 195.3 kB / 0.5656 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.3153, allocations: 184 kB / 0.5658 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.3155, allocations: 87.83 kB / 0.5659 GB, free: 340 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.3157, allocations: 91.58 kB / 0.566 GB, free: 248 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.3158, allocations: 91.53 kB / 0.566 GB, free: 156 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.3158, allocations: 16 kB / 0.5661 GB, free: 140 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.3161, allocations: 151.9 kB / 0.5662 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.586e-05/0.3162, allocations: 43.8 kB / 0.5662 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.107e-05/0.3163, allocations: 95.47 kB / 0.5663 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.3167, allocations: 317 kB / 0.5666 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3167, allocations: 3.938 kB / 0.5666 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3167, allocations: 4 kB / 0.5666 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.3167, allocations: 0 / 0.5666 GB, free: 15.54 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.0005907/0.3173, allocations: 469.5 kB / 0.5671 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.3173, allocations: 8.031 kB / 0.5671 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008552/0.3182, allocations: 80.73 kB / 0.5672 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.3185, allocations: 158.2 kB / 0.5673 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.3185, allocations: 17.03 kB / 0.5673 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.3185, allocations: 24.38 kB / 0.5674 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.3189, allocations: 214.4 kB / 0.5676 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3189, allocations: 0 / 0.5676 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.3189, allocations: 12 kB / 0.5676 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.3189, allocations: 7.984 kB / 0.5676 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.3192, allocations: 146.5 kB / 0.5677 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/0.32, allocations: 0.5509 MB / 0.5683 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.3205, allocations: 211.4 kB / 0.5685 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.3206, allocations: 57.3 kB / 0.5685 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.3206, allocations: 12.11 kB / 0.5685 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.3207, allocations: 42.73 kB / 0.5686 GB, free: 13.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.333e-06/0.3207, allocations: 4 kB / 0.5686 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004366/0.3211, allocations: 211.9 kB / 0.5688 GB, free: 13.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.3212, allocations: 55.41 kB / 0.5688 GB, free: 13.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.3212, allocations: 105.8 kB / 0.5689 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3213, allocations: 29.7 kB / 0.569 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.3213, allocations: 136.7 kB / 0.5691 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.745e-05/0.3214, allocations: 95.17 kB / 0.5692 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.368e-05/0.3215, allocations: 45.7 kB / 0.5692 GB, free: 12.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3216, allocations: 322.8 kB / 0.5695 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.224e-05/0.3217, allocations: 39.97 kB / 0.5696 GB, free: 12.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.951e-05/0.3218, allocations: 57.77 kB / 0.5696 GB, free: 12.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.322, allocations: 113.3 kB / 0.5697 GB, free: 12.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.322, allocations: 0 / 0.5697 GB, free: 12.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002843/0.3223, allocations: 169.5 kB / 0.5699 GB, free: 12.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3223, allocations: 4 kB / 0.5699 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3223, allocations: 4 kB / 0.5699 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3223, allocations: 4 kB / 0.5699 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.3227, allocations: 99.88 kB / 0.57 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3227, allocations: 0 / 0.57 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.377e-05/0.3228, allocations: 15.89 kB / 0.57 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.3228, allocations: 4 kB / 0.57 GB, free: 11.89 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.0001134/0.3229, allocations: 133.8 kB / 0.5702 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.3229, allocations: 19.83 kB / 0.5702 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.008e-05/0.323, allocations: 21.62 kB / 0.5702 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.323, allocations: 4 kB / 0.5702 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.323, allocations: 0 / 0.5702 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.323, allocations: 3.938 kB / 0.5702 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.3233, allocations: 248.5 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3233, allocations: 3.938 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.3236, allocations: 104.1 kB / 0.5705 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3236, allocations: 0 / 0.5705 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.3236, allocations: 12 kB / 0.5705 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3237, allocations: 0 / 0.5705 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3237, allocations: 0 / 0.5705 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.324, allocations: 279.6 kB / 0.5708 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.324, allocations: 23.78 kB / 0.5708 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.324, allocations: 4 kB / 0.5708 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/0.3241, allocations: 8 kB / 0.5709 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.3241, allocations: 11.97 kB / 0.5709 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3242, allocations: 8 kB / 0.5709 GB, free: 10.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.87e-05/0.3242, allocations: 83.27 kB / 0.5709 GB, free: 10.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3242, allocations: 0 / 0.5709 GB, free: 10.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.3245, allocations: 47.89 kB / 0.571 GB, free: 10.82 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.0001015/0.3246, allocations: 103.2 kB / 0.5711 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.3248, allocations: 123.9 kB / 0.5712 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3248, allocations: 0 / 0.5712 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.325, allocations: 71.89 kB / 0.5713 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.3252, allocations: 18.44 kB / 0.5713 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007794/0.326, allocations: 0.4955 MB / 0.5718 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.3263, allocations: 0.7395 MB / 0.5725 GB, free: 9.211 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.3264, allocations: 15.44 kB / 0.5725 GB, free: 9.195 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3264, allocations: 0 / 0.5725 GB, free: 9.195 MB / 414.1 MB Notification: Performance of Templates: time 0.003529/0.3299, allocations: 1.78 MB / 0.5743 GB, free: 7.41 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/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_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.0119923369493335]