Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.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.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 172 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.678/1.678, allocations: 205.6 MB / 222.4 MB, free: 8.957 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.0007491/0.0007493, allocations: 78.44 kB / 270.8 MB, free: 8.133 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.35/0.35, allocations: 43.67 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.000323, allocations: 8 kB / 432.3 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1164, allocations: 58.85 MB / 491.1 MB, free: 9.832 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002657/0.1191, allocations: 2.363 MB / 493.5 MB, free: 7.457 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.1207, allocations: 1.098 MB / 494.6 MB, free: 6.312 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.1209, allocations: 7.938 kB / 494.6 MB, free: 6.305 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.1211, allocations: 35.7 kB / 494.7 MB, free: 6.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.1212, allocations: 87.23 kB / 494.7 MB, free: 6.184 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.1216, allocations: 135.7 kB / 494.9 MB, free: 6.051 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.122, allocations: 366.2 kB / 495.2 MB, free: 5.691 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.1222, allocations: 77.95 kB / 495.3 MB, free: 5.621 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.1223, allocations: 119.5 kB / 495.4 MB, free: 5.504 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.1225, allocations: 139.3 kB / 495.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.1225, allocations: 12 kB / 495.6 MB, free: 5.355 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.883e-05/0.1226, allocations: 35.98 kB / 495.6 MB, free: 5.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.1227, allocations: 59.69 kB / 495.7 MB, free: 5.262 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.1228, allocations: 176.9 kB / 495.8 MB, free: 5.082 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.1232, allocations: 350.6 kB / 496.2 MB, free: 4.738 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1232, allocations: 0 / 496.2 MB, free: 4.738 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1232, allocations: 3.938 kB / 496.2 MB, free: 4.734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.1232, allocations: 0 / 496.2 MB, free: 4.734 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009084/0.1242, allocations: 0.5653 MB / 496.7 MB, free: 4.121 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1242, allocations: 12.03 kB / 496.8 MB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.1244, allocations: 48.55 kB / 496.8 MB, free: 4.062 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.1247, allocations: 275.4 kB / 497.1 MB, free: 3.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.1248, allocations: 21.03 kB / 497.1 MB, free: 3.734 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.1248, allocations: 36.28 kB / 497.1 MB, free: 3.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.1253, allocations: 306.6 kB / 497.4 MB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.1253, allocations: 3.906 kB / 497.4 MB, free: 3.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.1253, allocations: 15.94 kB / 497.4 MB, free: 3.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.1254, allocations: 12 kB / 497.5 MB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.1257, allocations: 191.8 kB / 497.6 MB, free: 3.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.1273, allocations: 1.288 MB / 498.9 MB, free: 1.777 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/0.1278, allocations: 328.8 kB / 499.3 MB, free: 1.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.1279, allocations: 108.3 kB / 499.4 MB, free: 1.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.128, allocations: 4 kB / 499.4 MB, free: 1.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.128, allocations: 42.5 kB / 499.4 MB, free: 1.234 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.422e-06/0.128, allocations: 0 / 499.4 MB, free: 1.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.2066/0.3346, allocations: 1.568 MB / 0.4892 GB, free: 42.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.3347, allocations: 159.3 kB / 0.4894 GB, free: 42.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.3349, allocations: 227 kB / 0.4896 GB, free: 42.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.3349, allocations: 32.92 kB / 0.4896 GB, free: 42.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.3351, allocations: 177.4 kB / 0.4898 GB, free: 42.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/0.3352, allocations: 154.9 kB / 0.49 GB, free: 42.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.3352, allocations: 12.72 kB / 0.49 GB, free: 42.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.556e-05/0.3353, allocations: 343.3 kB / 0.4903 GB, free: 41.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.3355, allocations: 92.67 kB / 0.4904 GB, free: 41.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.3357, allocations: 239.7 kB / 0.4906 GB, free: 41.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004186/0.3361, allocations: 374 kB / 0.491 GB, free: 41.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3361, allocations: 1.062 kB / 0.491 GB, free: 41.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006172/0.3368, allocations: 407.5 kB / 0.4914 GB, free: 41.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3368, allocations: 6.594 kB / 0.4914 GB, free: 41.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.3368, allocations: 9.406 kB / 0.4914 GB, free: 41.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.3369, allocations: 8.094 kB / 0.4914 GB, free: 41.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/0.3373, allocations: 116.8 kB / 0.4915 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.3373, allocations: 11.59 kB / 0.4915 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.3375, allocations: 17.14 kB / 0.4915 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.3376, allocations: 22.7 kB / 0.4915 GB, free: 41.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * 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.0001464/0.3377, allocations: 158.8 kB / 0.4917 GB, free: 41.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.3378, allocations: 37.53 kB / 0.4917 GB, free: 41.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.3381, allocations: 122.1 kB / 0.4918 GB, free: 41.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3381, allocations: 9.547 kB / 0.4919 GB, free: 41.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.3381, allocations: 2.938 kB / 0.4919 GB, free: 41.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3381, allocations: 3.125 kB / 0.4919 GB, free: 41.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.3395, allocations: 1.033 MB / 0.4929 GB, free: 40.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.3395, allocations: 7.656 kB / 0.4929 GB, free: 40.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.34, allocations: 95.2 kB / 0.493 GB, free: 40.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.34, allocations: 5.656 kB / 0.493 GB, free: 40.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.34, allocations: 13.42 kB / 0.493 GB, free: 40.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.34, allocations: 5.172 kB / 0.493 GB, free: 40.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.34, allocations: 11.86 kB / 0.493 GB, free: 40.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.3407, allocations: 0.8216 MB / 0.4938 GB, free: 40.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.3407, allocations: 102.2 kB / 0.4939 GB, free: 40.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.3408, allocations: 12.94 kB / 0.4939 GB, free: 40.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.3411, allocations: 11.78 kB / 0.4939 GB, free: 40.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.3411, allocations: 34.47 kB / 0.494 GB, free: 40.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.3412, allocations: 15.27 kB / 0.494 GB, free: 40.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.3413, allocations: 162.6 kB / 0.4941 GB, free: 39.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3413, allocations: 0 / 0.4941 GB, free: 39.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005108/0.3418, allocations: 81.88 kB / 0.4942 GB, free: 39.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (41): * Single equations (assignments): 41 * 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 9.895e-05/0.3419, allocations: 117.6 kB / 0.4943 GB, free: 39.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004454/0.3424, allocations: 281.3 kB / 0.4946 GB, free: 39.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3424, allocations: 4 kB / 0.4946 GB, free: 39.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.3426, allocations: 131.7 kB / 0.4947 GB, free: 39.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008794/0.3435, allocations: 72.3 kB / 0.4948 GB, free: 39.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.3452, allocations: 1.551 MB / 0.4963 GB, free: 38.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.3455, allocations: 0.7845 MB / 0.4971 GB, free: 38.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001781/0.3457, allocations: 37.3 kB / 0.4971 GB, free: 38.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.242e-05/0.3457, allocations: 31.53 kB / 0.4971 GB, free: 38.03 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3457, allocations: 1.375 kB / 0.4971 GB, free: 38.03 MB / 378.7 MB Notification: Performance of Templates: time 0.01003/0.3558, allocations: 2.963 MB / 0.5 GB, free: 37.84 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches