Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 114.5 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.203/0.203, allocations: 46.09 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 71.88 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3092, allocations: 62.43 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004659/0.3139, allocations: 3.149 MB / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.3163, allocations: 1.077 MB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003717/0.3167, allocations: 10.91 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.3169, allocations: 68.72 kB / 0.5358 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004097/0.3174, allocations: 120.8 kB / 0.536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006709/0.3181, allocations: 175.1 kB / 0.5361 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000718/0.3188, allocations: 469.3 kB / 0.5366 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.3191, allocations: 114 kB / 0.5367 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.3194, allocations: 167.4 kB / 0.5368 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.3197, allocations: 190.3 kB / 0.537 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.157e-05/0.3198, allocations: 31.41 kB / 0.537 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.32, allocations: 52.77 kB / 0.5371 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.703e-05/0.3201, allocations: 74.53 kB / 0.5372 GB, free: 9.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002761/0.3204, allocations: 198.5 kB / 0.5374 GB, free: 9.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005911/0.321, allocations: 455.5 kB / 0.5378 GB, free: 8.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.321, allocations: 0.9688 kB / 0.5378 GB, free: 8.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.321, allocations: 0 / 0.5378 GB, free: 8.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.321, allocations: 0 / 0.5378 GB, free: 8.848 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001357/0.3224, allocations: 0.6891 MB / 0.5385 GB, free: 8.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3225, allocations: 12.75 kB / 0.5385 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000407/0.3229, allocations: 68.78 kB / 0.5385 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.3234, allocations: 298.6 kB / 0.5388 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/0.3234, allocations: 27.81 kB / 0.5389 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.181e-05/0.3235, allocations: 36.38 kB / 0.5389 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.3242, allocations: 370.7 kB / 0.5392 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/0.3242, allocations: 7.219 kB / 0.5393 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/0.3243, allocations: 15.34 kB / 0.5393 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.3243, allocations: 8.75 kB / 0.5393 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005087/0.3248, allocations: 250.2 kB / 0.5395 GB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.3271, allocations: 1.517 MB / 0.541 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006457/0.3277, allocations: 418.3 kB / 0.5414 GB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.3279, allocations: 134.1 kB / 0.5415 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.328, allocations: 16.08 kB / 0.5415 GB, free: 5.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.328, allocations: 39.16 kB / 0.5416 GB, free: 5.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 1.954e-06/0.328, allocations: 0 / 0.5416 GB, free: 5.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.003092/0.3311, allocations: 1.968 MB / 0.5435 GB, free: 3.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.3312, allocations: 184.5 kB / 0.5437 GB, free: 3.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.3314, allocations: 260.4 kB / 0.5439 GB, free: 3.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.3315, allocations: 40.17 kB / 0.544 GB, free: 3.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.3316, allocations: 204.6 kB / 0.5442 GB, free: 3.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.3318, allocations: 178.1 kB / 0.5443 GB, free: 3.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.3319, allocations: 96.47 kB / 0.5444 GB, free: 3.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.332, allocations: 347.9 kB / 0.5447 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.3323, allocations: 121 kB / 0.5449 GB, free: 2.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.3326, allocations: 297.5 kB / 0.5451 GB, free: 2.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/0.3332, allocations: 453.7 kB / 0.5456 GB, free: 2.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3332, allocations: 2.156 kB / 0.5456 GB, free: 2.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007498/0.334, allocations: 498.6 kB / 0.5461 GB, free: 1.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.334, allocations: 7.344 kB / 0.5461 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.334, allocations: 4.969 kB / 0.5461 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.334, allocations: 8.594 kB / 0.5461 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/0.3345, allocations: 146.5 kB / 0.5462 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.3345, allocations: 8.688 kB / 0.5462 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.3348, allocations: 29.16 kB / 0.5463 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.3348, allocations: 24 kB / 0.5463 GB, free: 1.766 MB / 398.1 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.0001643/0.335, allocations: 176.7 kB / 0.5464 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.3352, allocations: 39.5 kB / 0.5465 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.3354, allocations: 129.9 kB / 0.5466 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3354, allocations: 1.125 kB / 0.5466 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3354, allocations: 2.062 kB / 0.5466 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.248e-05/0.3355, allocations: 115.4 kB / 0.5467 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/0.3356, allocations: 16.25 kB / 0.5467 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.3359, allocations: 12.44 kB / 0.5467 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/0.336, allocations: 35.3 kB / 0.5468 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001118/0.3371, allocations: 0.8599 MB / 0.5476 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001056/0.3382, allocations: 1.036 MB / 0.5486 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002402/0.3384, allocations: 148.4 kB / 0.5488 GB, free: 15.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.3386, allocations: 181.9 kB / 0.5489 GB, free: 15.14 MB / 414.1 MB Notification: Performance of Backend: time 5.21e-07/0.3386, allocations: 0 / 0.5489 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.3398, allocations: 345.4 kB / 0.5493 GB, free: 14.8 MB / 414.1 MB Notification: Performance of SimCode: time 0.002146/0.3419, allocations: 1.781 MB / 0.551 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Templates: time 0.008707/0.3506, allocations: 4.923 MB / 0.5558 GB, free: 8.074 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches