Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009205/0.0009206, allocations: 173.9 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.235/1.235, allocations: 205.6 MB / 222.4 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007096/0.0007096, allocations: 94.56 kB / 270.8 MB, free: 8.117 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2865/0.2865, allocations: 43.67 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002811, allocations: 8 kB / 432.3 MB, free: 5.027 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09631/0.09661, allocations: 58.84 MB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002096/0.09875, allocations: 1.744 MB / 492.9 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.1014, allocations: 3.214 MB / 496.1 MB, free: 4.586 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.57e-05/0.1015, allocations: 4 kB / 496.1 MB, free: 4.582 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/0.1016, allocations: 19.84 kB / 496.1 MB, free: 4.562 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.1017, allocations: 19.8 kB / 496.2 MB, free: 4.543 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.1022, allocations: 163.4 kB / 496.3 MB, free: 4.383 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1023, allocations: 168.1 kB / 496.5 MB, free: 4.219 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.1025, allocations: 95.58 kB / 496.6 MB, free: 4.129 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.1027, allocations: 55.72 kB / 496.6 MB, free: 4.074 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.934e-05/0.1028, allocations: 75.5 kB / 496.7 MB, free: 4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1028, allocations: 4 kB / 496.7 MB, free: 3.996 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.103, allocations: 127.9 kB / 496.8 MB, free: 3.871 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.1031, allocations: 31.84 kB / 496.9 MB, free: 3.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.1032, allocations: 101.1 kB / 497 MB, free: 3.734 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.1035, allocations: 287.3 kB / 497.2 MB, free: 3.453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1036, allocations: 3.938 kB / 497.2 MB, free: 3.449 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1036, allocations: 0 / 497.2 MB, free: 3.449 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1036, allocations: 0 / 497.2 MB, free: 3.449 MB / 378.7 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.0005445/0.1041, allocations: 491.3 kB / 497.7 MB, free: 2.922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1042, allocations: 8.031 kB / 497.7 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008268/0.105, allocations: 76.69 kB / 497.8 MB, free: 2.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.1051, allocations: 184.1 kB / 498 MB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.1052, allocations: 20.94 kB / 498 MB, free: 2.602 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.1052, allocations: 24.38 kB / 498 MB, free: 2.578 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.1056, allocations: 209.1 kB / 498.2 MB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1056, allocations: 3.938 kB / 498.2 MB, free: 2.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.1056, allocations: 12 kB / 498.2 MB, free: 2.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.1056, allocations: 8 kB / 498.3 MB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.1059, allocations: 146.2 kB / 498.4 MB, free: 2.207 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008136/0.1067, allocations: 0.5966 MB / 499 MB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005335/0.1073, allocations: 233 kB / 499.2 MB, free: 1.324 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.1075, allocations: 69.3 kB / 499.3 MB, free: 1.254 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.1075, allocations: 12.11 kB / 499.3 MB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.1075, allocations: 38.8 kB / 499.3 MB, free: 1.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.492e-06/0.1076, allocations: 0 / 499.3 MB, free: 1.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.000483/0.108, allocations: 221.2 kB / 499.6 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.1081, allocations: 55.41 kB / 499.6 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.564e-05/0.1082, allocations: 101.8 kB / 499.7 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.1082, allocations: 33.7 kB / 499.7 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.1083, allocations: 132.5 kB / 499.9 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.1083, allocations: 82.75 kB / 500 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-06/0.1084, allocations: 4 kB / 500 MB, free: 0.543 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1085, allocations: 322.8 kB / 0.4885 GB, free: 224 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.379e-05/0.1086, allocations: 47.97 kB / 0.4886 GB, free: 176 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.458e-05/0.1087, allocations: 51.91 kB / 0.4886 GB, free: 124 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.1089, allocations: 112.6 kB / 0.4888 GB, free: 12 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1089, allocations: 4 kB / 0.4888 GB, free: 8 kB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.1684/0.2773, allocations: 176.9 kB / 0.4889 GB, free: 43.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.2774, allocations: 4.25 kB / 0.4889 GB, free: 43.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2774, allocations: 0.5156 kB / 0.4889 GB, free: 43.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2774, allocations: 1.125 kB / 0.4889 GB, free: 43.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.2778, allocations: 102.1 kB / 0.489 GB, free: 43.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2778, allocations: 1.219 kB / 0.489 GB, free: 43.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.474e-05/0.2779, allocations: 17.33 kB / 0.489 GB, free: 43.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.2779, allocations: 5.281 kB / 0.489 GB, free: 43.2 MB / 378.7 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.0001026/0.278, allocations: 135.6 kB / 0.4892 GB, free: 43.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.2781, allocations: 14.81 kB / 0.4892 GB, free: 43.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/0.2781, allocations: 20.94 kB / 0.4892 GB, free: 43.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2781, allocations: 2.719 kB / 0.4892 GB, free: 43.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2782, allocations: 4.922 kB / 0.4892 GB, free: 43.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2782, allocations: 0.7656 kB / 0.4892 GB, free: 43.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.2784, allocations: 266.6 kB / 0.4895 GB, free: 42.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2784, allocations: 1.656 kB / 0.4895 GB, free: 42.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.2788, allocations: 103.4 kB / 0.4896 GB, free: 42.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.2788, allocations: 1.094 kB / 0.4896 GB, free: 42.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.2788, allocations: 4.312 kB / 0.4896 GB, free: 42.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2788, allocations: 1.156 kB / 0.4896 GB, free: 42.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2788, allocations: 5.984 kB / 0.4896 GB, free: 42.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.2791, allocations: 283.4 kB / 0.4899 GB, free: 42.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.2792, allocations: 87.64 kB / 0.4899 GB, free: 42.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.2792, allocations: 5.25 kB / 0.4899 GB, free: 42.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.965e-05/0.2793, allocations: 9.625 kB / 0.49 GB, free: 42.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.2793, allocations: 17.47 kB / 0.49 GB, free: 42.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.2794, allocations: 7.922 kB / 0.49 GB, free: 42.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.569e-05/0.2794, allocations: 84.52 kB / 0.4901 GB, free: 42.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2794, allocations: 0 / 0.4901 GB, free: 42.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002734/0.2797, allocations: 54.33 kB / 0.4901 GB, free: 42.58 MB / 378.7 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 8.605e-05/0.2798, allocations: 114.4 kB / 0.4902 GB, free: 42.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002664/0.28, allocations: 137.8 kB / 0.4904 GB, free: 42.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2801, allocations: 0 / 0.4904 GB, free: 42.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.2802, allocations: 78.45 kB / 0.4904 GB, free: 42.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.2804, allocations: 12.61 kB / 0.4904 GB, free: 42.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006761/0.2811, allocations: 0.6144 MB / 0.491 GB, free: 42.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.2813, allocations: 0.732 MB / 0.4918 GB, free: 41.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000123/0.2814, allocations: 20.75 kB / 0.4918 GB, free: 41.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.2814, allocations: 16.69 kB / 0.4918 GB, free: 41.46 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2814, allocations: 0 / 0.4918 GB, free: 41.46 MB / 378.7 MB Notification: Performance of Templates: time 0.003089/0.2845, allocations: 0.8512 MB / 0.4926 GB, free: 41.4 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches