Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008817/0.0008817, allocations: 175 kB / 17.41 MB, free: 4.391 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.7 MB / 243.9 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007475/0.0007476, allocations: 90.36 kB / 295 MB, free: 9.723 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3497/0.3497, allocations: 44.32 MB / 390.5 MB, free: 38.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003071, allocations: 11.94 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2924, allocations: 61.9 MB / 0.5127 GB, free: 38.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.001641/0.2941, allocations: 1.731 MB / 0.5144 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.2958, allocations: 3.228 MB / 0.5176 GB, free: 33.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.975e-05/0.2959, allocations: 5.656 kB / 0.5176 GB, free: 33.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.296, allocations: 10.92 kB / 0.5176 GB, free: 33.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.2961, allocations: 21.52 kB / 0.5176 GB, free: 33.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.2964, allocations: 147.3 kB / 0.5178 GB, free: 33.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.2965, allocations: 172.9 kB / 0.5179 GB, free: 33.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.2967, allocations: 94.08 kB / 0.518 GB, free: 33.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.294e-05/0.2968, allocations: 58.89 kB / 0.5181 GB, free: 33.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.996e-05/0.2969, allocations: 70.47 kB / 0.5181 GB, free: 33.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.2969, allocations: 5.531 kB / 0.5181 GB, free: 33.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.2972, allocations: 130.3 kB / 0.5183 GB, free: 33.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.2972, allocations: 28.39 kB / 0.5183 GB, free: 33.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.988e-05/0.2973, allocations: 100.8 kB / 0.5184 GB, free: 33.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.2976, allocations: 294.3 kB / 0.5187 GB, free: 33.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2976, allocations: 3.234 kB / 0.5187 GB, free: 33.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2976, allocations: 0 / 0.5187 GB, free: 33.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2976, allocations: 0 / 0.5187 GB, free: 33.01 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.0004268/0.298, allocations: 483.4 kB / 0.5191 GB, free: 32.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2981, allocations: 13.06 kB / 0.5191 GB, free: 32.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007638/0.2989, allocations: 66.97 kB / 0.5192 GB, free: 32.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.755e-05/0.299, allocations: 190 kB / 0.5194 GB, free: 32.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.299, allocations: 19.88 kB / 0.5194 GB, free: 32.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.299, allocations: 24.94 kB / 0.5194 GB, free: 32.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.2994, allocations: 209.6 kB / 0.5196 GB, free: 32.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2994, allocations: 0 / 0.5196 GB, free: 32.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.2994, allocations: 10.97 kB / 0.5196 GB, free: 32.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.2994, allocations: 7.719 kB / 0.5196 GB, free: 32.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.2997, allocations: 150.4 kB / 0.5198 GB, free: 32.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000699/0.3004, allocations: 0.5911 MB / 0.5204 GB, free: 31.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005005/0.3009, allocations: 230.4 kB / 0.5206 GB, free: 31.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.301, allocations: 70.44 kB / 0.5207 GB, free: 31.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.3011, allocations: 8.391 kB / 0.5207 GB, free: 31.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.3011, allocations: 35.86 kB / 0.5207 GB, free: 31.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.292e-06/0.3011, allocations: 0 / 0.5207 GB, free: 31.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004531/0.3016, allocations: 221.9 kB / 0.5209 GB, free: 31.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.3016, allocations: 54.84 kB / 0.521 GB, free: 31.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.431e-05/0.3017, allocations: 103.1 kB / 0.5211 GB, free: 31.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.3017, allocations: 30.8 kB / 0.5211 GB, free: 31.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.3017, allocations: 132.6 kB / 0.5212 GB, free: 31.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.3018, allocations: 97.11 kB / 0.5213 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-06/0.3018, allocations: 4.969 kB / 0.5213 GB, free: 31.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.3019, allocations: 320.2 kB / 0.5216 GB, free: 30.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.656e-05/0.302, allocations: 48.34 kB / 0.5217 GB, free: 30.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-05/0.3021, allocations: 48.86 kB / 0.5217 GB, free: 30.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.3022, allocations: 118 kB / 0.5218 GB, free: 30.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3022, allocations: 0 / 0.5218 GB, free: 30.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002183/0.3025, allocations: 176 kB / 0.522 GB, free: 30.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3025, allocations: 6.125 kB / 0.522 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.3025, allocations: 0 / 0.522 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3025, allocations: 0 / 0.522 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.3028, allocations: 104.8 kB / 0.5221 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.3029, allocations: 0.6094 kB / 0.5221 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.3029, allocations: 18.58 kB / 0.5221 GB, free: 30.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.303, allocations: 14.34 kB / 0.5221 GB, free: 30.62 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 7.715e-05/0.303, allocations: 128.3 kB / 0.5223 GB, free: 30.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.3031, allocations: 14.19 kB / 0.5223 GB, free: 30.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.3031, allocations: 25.83 kB / 0.5223 GB, free: 30.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3031, allocations: 2.875 kB / 0.5223 GB, free: 30.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3031, allocations: 0.9062 kB / 0.5223 GB, free: 30.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3031, allocations: 1.453 kB / 0.5223 GB, free: 30.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.3034, allocations: 273.4 kB / 0.5226 GB, free: 30.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3034, allocations: 3.938 kB / 0.5226 GB, free: 30.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.3037, allocations: 101 kB / 0.5227 GB, free: 30.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3037, allocations: 6.75 kB / 0.5227 GB, free: 30.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3037, allocations: 0 / 0.5227 GB, free: 30.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3037, allocations: 6.5 kB / 0.5227 GB, free: 30.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3037, allocations: 0 / 0.5227 GB, free: 30.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.304, allocations: 282.9 kB / 0.5229 GB, free: 30.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.304, allocations: 94.73 kB / 0.523 GB, free: 29.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.304, allocations: 4 kB / 0.523 GB, free: 29.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/0.3041, allocations: 6.875 kB / 0.523 GB, free: 29.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.3042, allocations: 19.12 kB / 0.5231 GB, free: 29.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.3042, allocations: 5.812 kB / 0.5231 GB, free: 29.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.112e-05/0.3042, allocations: 85.59 kB / 0.5231 GB, free: 29.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3042, allocations: 0 / 0.5231 GB, free: 29.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002304/0.3044, allocations: 41.91 kB / 0.5232 GB, free: 29.8 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 7.705e-05/0.3045, allocations: 107.1 kB / 0.5233 GB, free: 29.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.3048, allocations: 138.5 kB / 0.5234 GB, free: 29.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.3048, allocations: 0 / 0.5234 GB, free: 29.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.788e-05/0.3049, allocations: 78.77 kB / 0.5235 GB, free: 29.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.3051, allocations: 14.84 kB / 0.5235 GB, free: 29.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.3056, allocations: 0.6168 MB / 0.5241 GB, free: 29.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.3058, allocations: 0.7305 MB / 0.5248 GB, free: 28.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.3059, allocations: 18.75 kB / 0.5248 GB, free: 28.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.3059, allocations: 16.03 kB / 0.5249 GB, free: 28.55 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3059, allocations: 2.531 kB / 0.5249 GB, free: 28.55 MB / 378.7 MB Notification: Performance of Templates: time 0.002577/0.3085, allocations: 0.852 MB / 0.5257 GB, free: 28.45 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches