Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_trunk_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|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 191.7 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007648/0.000765, allocations: 94.22 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2947/0.2947, allocations: 45 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002427/0.0002427, allocations: 12.22 kB / 470.8 MB, free: 7.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3087, allocations: 63.08 MB / 0.5214 GB, free: 38.4 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003375/0.3121, allocations: 2.615 MB / 0.5239 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.3144, allocations: 1.467 MB / 0.5253 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.3146, allocations: 12.81 kB / 0.5254 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.3148, allocations: 46.42 kB / 0.5254 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.3151, allocations: 103.4 kB / 0.5255 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.3156, allocations: 156 kB / 0.5256 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004342/0.3161, allocations: 432.9 kB / 0.5261 GB, free: 34.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.3163, allocations: 106.6 kB / 0.5262 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.3165, allocations: 145.7 kB / 0.5263 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.3167, allocations: 172.2 kB / 0.5265 GB, free: 34.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.505e-05/0.3168, allocations: 20.91 kB / 0.5265 GB, free: 34.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.3169, allocations: 36.81 kB / 0.5265 GB, free: 34.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.754e-05/0.317, allocations: 59.25 kB / 0.5266 GB, free: 34.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.3172, allocations: 210.2 kB / 0.5268 GB, free: 34.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004509/0.3177, allocations: 420.3 kB / 0.5272 GB, free: 34.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3177, allocations: 0 / 0.5272 GB, free: 34.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3177, allocations: 0 / 0.5272 GB, free: 34.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3177, allocations: 0 / 0.5272 GB, free: 34.31 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001185/0.3189, allocations: 0.6267 MB / 0.5278 GB, free: 33.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.319, allocations: 12.16 kB / 0.5278 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003641/0.3193, allocations: 60.89 kB / 0.5279 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.3197, allocations: 291 kB / 0.5281 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.3197, allocations: 27.84 kB / 0.5282 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.782e-05/0.3198, allocations: 41.95 kB / 0.5282 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007488/0.3206, allocations: 359.6 kB / 0.5285 GB, free: 33.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.3206, allocations: 14.91 kB / 0.5286 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.3207, allocations: 10.81 kB / 0.5286 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3207, allocations: 8.531 kB / 0.5286 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006379/0.3214, allocations: 248.6 kB / 0.5288 GB, free: 33.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.3234, allocations: 1.519 MB / 0.5303 GB, free: 32.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008274/0.3243, allocations: 416 kB / 0.5307 GB, free: 31.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.3246, allocations: 151.7 kB / 0.5308 GB, free: 31.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.3246, allocations: 5.75 kB / 0.5308 GB, free: 31.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.3247, allocations: 41.34 kB / 0.5309 GB, free: 31.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.264e-06/0.3247, allocations: 4 kB / 0.5309 GB, free: 31.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.003382/0.3281, allocations: 1.956 MB / 0.5328 GB, free: 29.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.3281, allocations: 189.9 kB / 0.533 GB, free: 29.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.3284, allocations: 252.5 kB / 0.5332 GB, free: 29.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.3284, allocations: 33.7 kB / 0.5333 GB, free: 29.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.947e-05/0.3286, allocations: 194.8 kB / 0.5334 GB, free: 29.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.3287, allocations: 182.8 kB / 0.5336 GB, free: 29.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.3287, allocations: 10.72 kB / 0.5336 GB, free: 29.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.3288, allocations: 349.3 kB / 0.534 GB, free: 28.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.3292, allocations: 119.9 kB / 0.5341 GB, free: 28.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004155/0.3296, allocations: 295.5 kB / 0.5344 GB, free: 28.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.3304, allocations: 460.7 kB / 0.5348 GB, free: 28.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.3304, allocations: 3 kB / 0.5348 GB, free: 28.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00101/0.3314, allocations: 497.1 kB / 0.5353 GB, free: 28.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3314, allocations: 9.719 kB / 0.5353 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.3315, allocations: 5.688 kB / 0.5353 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.3315, allocations: 8.5 kB / 0.5353 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006438/0.3321, allocations: 138.5 kB / 0.5354 GB, free: 28.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/0.3322, allocations: 15.39 kB / 0.5354 GB, free: 28.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/0.3326, allocations: 33.34 kB / 0.5355 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.3326, allocations: 22.91 kB / 0.5355 GB, free: 28.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0001851/0.3328, allocations: 175.7 kB / 0.5357 GB, free: 27.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/0.333, allocations: 37.38 kB / 0.5357 GB, free: 27.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.3333, allocations: 119.7 kB / 0.5358 GB, free: 27.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.3333, allocations: 9.344 kB / 0.5358 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.3333, allocations: 2.625 kB / 0.5358 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.3334, allocations: 5.578 kB / 0.5358 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.3356, allocations: 1.25 MB / 0.537 GB, free: 26.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.3356, allocations: 5.562 kB / 0.5371 GB, free: 26.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007355/0.3364, allocations: 122.7 kB / 0.5372 GB, free: 26.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.3364, allocations: 5.25 kB / 0.5372 GB, free: 26.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.391e-05/0.3365, allocations: 19.88 kB / 0.5372 GB, free: 26.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/0.3365, allocations: 12.56 kB / 0.5372 GB, free: 26.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.3365, allocations: 9.188 kB / 0.5372 GB, free: 26.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.3376, allocations: 0.9983 MB / 0.5382 GB, free: 26.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.3377, allocations: 109.7 kB / 0.5383 GB, free: 25.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.21e-05/0.3378, allocations: 13.25 kB / 0.5383 GB, free: 25.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006441/0.3384, allocations: 21.88 kB / 0.5383 GB, free: 25.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.733e-05/0.3386, allocations: 41.56 kB / 0.5384 GB, free: 25.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/0.3386, allocations: 17.31 kB / 0.5384 GB, free: 25.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001908/0.3388, allocations: 173.5 kB / 0.5385 GB, free: 25.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3388, allocations: 3.938 kB / 0.5386 GB, free: 25.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009557/0.3398, allocations: 97.47 kB / 0.5386 GB, free: 25.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,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 (49): * Single equations (assignments): 49 * 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.0001278/0.3399, allocations: 127.4 kB / 0.5388 GB, free: 25.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000799/0.3408, allocations: 343.2 kB / 0.5391 GB, free: 25.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.3408, allocations: 6.844 kB / 0.5391 GB, free: 25.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000354/0.3411, allocations: 167.6 kB / 0.5393 GB, free: 25.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.3428, allocations: 76.05 kB / 0.5393 GB, free: 25.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.3457, allocations: 1.808 MB / 0.5411 GB, free: 24.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3461, allocations: 0.8045 MB / 0.5419 GB, free: 23.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003471/0.3465, allocations: 48.92 kB / 0.5419 GB, free: 23.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.3466, allocations: 30.14 kB / 0.542 GB, free: 23.41 MB / 378.7 MB Notification: Performance of SimCode: time 6.82e-07/0.3466, allocations: 2.375 kB / 0.542 GB, free: 23.41 MB / 378.7 MB Notification: Performance of Templates: time 0.01283/0.3594, allocations: 3.612 MB / 0.5455 GB, free: 23.14 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches