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: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001715/0.001715, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002135/0.002135, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 46.13 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 84.12 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2928, allocations: 62.45 MB / 0.5306 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004551/0.2974, allocations: 3.153 MB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.2994, allocations: 1.073 MB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.2996, allocations: 11.75 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.2999, allocations: 61.16 kB / 0.5348 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.3001, allocations: 120.6 kB / 0.5349 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005471/0.3007, allocations: 182.5 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005028/0.3012, allocations: 461.7 kB / 0.5355 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.3014, allocations: 118 kB / 0.5356 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.3016, allocations: 168.2 kB / 0.5358 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.3019, allocations: 187 kB / 0.536 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.3019, allocations: 31.25 kB / 0.536 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.3021, allocations: 51.77 kB / 0.5361 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/0.3022, allocations: 79.73 kB / 0.5361 GB, free: 9.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.3024, allocations: 195 kB / 0.5363 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005528/0.3029, allocations: 456.6 kB / 0.5368 GB, free: 8.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.303, allocations: 0 / 0.5368 GB, free: 8.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.303, allocations: 5.156 kB / 0.5368 GB, free: 8.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.303, allocations: 0 / 0.5368 GB, free: 8.574 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.001188/0.3042, allocations: 0.6999 MB / 0.5374 GB, free: 7.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3042, allocations: 8.719 kB / 0.5375 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.569e-05/0.3043, allocations: 74 kB / 0.5375 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003036/0.3046, allocations: 73.56 kB / 0.5376 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.3051, allocations: 299.7 kB / 0.5379 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.3051, allocations: 30.53 kB / 0.5379 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/0.3052, allocations: 43.83 kB / 0.538 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/0.3058, allocations: 355.3 kB / 0.5383 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.3059, allocations: 11.09 kB / 0.5383 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.3059, allocations: 15.41 kB / 0.5383 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.3059, allocations: 12.62 kB / 0.5383 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/0.3064, allocations: 247.1 kB / 0.5386 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.3086, allocations: 1.518 MB / 0.54 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007441/0.3093, allocations: 421.3 kB / 0.5404 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.3096, allocations: 134 kB / 0.5406 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.3096, allocations: 8.266 kB / 0.5406 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.3097, allocations: 42.19 kB / 0.5406 GB, free: 5.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.285e-06/0.3097, allocations: 0 / 0.5406 GB, free: 5.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.003339/0.313, allocations: 1.984 MB / 0.5426 GB, free: 3.602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.3132, allocations: 197.8 kB / 0.5427 GB, free: 3.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.3134, allocations: 251.3 kB / 0.543 GB, free: 3.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.3135, allocations: 35.95 kB / 0.543 GB, free: 3.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.3136, allocations: 209.1 kB / 0.5432 GB, free: 2.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.3138, allocations: 184.2 kB / 0.5434 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.3139, allocations: 103.8 kB / 0.5435 GB, free: 2.734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3141, allocations: 347.4 kB / 0.5438 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.3144, allocations: 117.3 kB / 0.5439 GB, free: 2.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/0.3147, allocations: 297.8 kB / 0.5442 GB, free: 2.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006597/0.3154, allocations: 462 kB / 0.5447 GB, free: 1.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3154, allocations: 1.094 kB / 0.5447 GB, free: 1.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008509/0.3163, allocations: 498.1 kB / 0.5451 GB, free: 1.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3163, allocations: 7.438 kB / 0.5451 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3163, allocations: 5.906 kB / 0.5452 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.3163, allocations: 8.906 kB / 0.5452 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.3168, allocations: 141.5 kB / 0.5453 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.3169, allocations: 17.66 kB / 0.5453 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.3172, allocations: 28.84 kB / 0.5453 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.3172, allocations: 24.25 kB / 0.5454 GB, free: 1.375 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.0002057/0.3174, allocations: 172.2 kB / 0.5455 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.3176, allocations: 39.2 kB / 0.5456 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.3179, allocations: 129.5 kB / 0.5457 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.3179, allocations: 6.375 kB / 0.5457 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.3179, allocations: 10.19 kB / 0.5457 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.3179, allocations: 9.016 kB / 0.5457 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.3204, allocations: 1.243 MB / 0.5469 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.3204, allocations: 3.406 kB / 0.5469 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/0.321, allocations: 114.3 kB / 0.547 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.321, allocations: 4 kB / 0.547 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/0.321, allocations: 20.58 kB / 0.5471 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.3211, allocations: 15.94 kB / 0.5471 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.3211, allocations: 4 kB / 0.5471 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.3222, allocations: 1.009 MB / 0.5481 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.3223, allocations: 116.8 kB / 0.5482 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.3224, allocations: 15.98 kB / 0.5482 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.3228, allocations: 16 kB / 0.5482 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/0.3229, allocations: 43.83 kB / 0.5483 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.3229, allocations: 20 kB / 0.5483 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000183/0.3231, allocations: 182 kB / 0.5484 GB, free: 14.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3231, allocations: 0 / 0.5484 GB, free: 14.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006709/0.3238, allocations: 92 kB / 0.5485 GB, free: 14.32 MB / 414.1 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.001424/0.3252, allocations: 1.566 MB / 0.5501 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006669/0.3259, allocations: 350.9 kB / 0.5504 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3259, allocations: 4 kB / 0.5504 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.3262, allocations: 172.9 kB / 0.5506 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.3272, allocations: 89.25 kB / 0.5507 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005912/0.3331, allocations: 4.657 MB / 0.5552 GB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.3336, allocations: 0.808 MB / 0.556 GB, free: 6.297 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002066/0.3338, allocations: 51.47 kB / 0.556 GB, free: 6.246 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.3341, allocations: 135.3 kB / 0.5562 GB, free: 6.113 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3341, allocations: 0 / 0.5562 GB, free: 6.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.3645, allocations: 7.726 MB / 0.5637 GB, free: 14.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.788/9.152, allocations: 15.98 kB / 0.5637 GB, free: 14.48 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Translational_TestBraking.fmu > 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