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.001178/0.001183, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001548, allocations: 71.88 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3186, allocations: 62.45 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004019/0.3227, allocations: 3.142 MB / 0.5336 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.3245, allocations: 1.077 MB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.3247, allocations: 10.81 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.3249, allocations: 66.25 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.3252, allocations: 116.7 kB / 0.5348 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.3257, allocations: 183.1 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004667/0.3262, allocations: 460.7 kB / 0.5354 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.3264, allocations: 114.8 kB / 0.5355 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.3266, allocations: 174.6 kB / 0.5357 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.3269, allocations: 182.8 kB / 0.5359 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.3269, allocations: 31.25 kB / 0.5359 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.3271, allocations: 55.8 kB / 0.5359 GB, free: 9.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.3272, allocations: 79.23 kB / 0.536 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.3274, allocations: 194.5 kB / 0.5362 GB, free: 8.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005313/0.3279, allocations: 459.7 kB / 0.5366 GB, free: 8.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.328, allocations: 1.312 kB / 0.5366 GB, free: 8.641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.328, allocations: 0 / 0.5366 GB, free: 8.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.328, allocations: 0 / 0.5366 GB, free: 8.641 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.001225/0.3292, allocations: 0.6848 MB / 0.5373 GB, free: 8.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.3293, allocations: 13.86 kB / 0.5373 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.92e-05/0.3293, allocations: 73.59 kB / 0.5374 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003462/0.3297, allocations: 72.95 kB / 0.5375 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.3301, allocations: 294.8 kB / 0.5378 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.3302, allocations: 30.8 kB / 0.5378 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.1e-05/0.3302, allocations: 40.12 kB / 0.5378 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.3308, allocations: 367.5 kB / 0.5382 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.825e-05/0.3308, allocations: 11.31 kB / 0.5382 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.3309, allocations: 11.62 kB / 0.5382 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3309, allocations: 8.031 kB / 0.5382 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.3314, allocations: 246.8 kB / 0.5384 GB, free: 7.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.3334, allocations: 1.514 MB / 0.5399 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/0.3341, allocations: 424.7 kB / 0.5403 GB, free: 5.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.3344, allocations: 134.7 kB / 0.5404 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.3344, allocations: 5.344 kB / 0.5405 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3344, allocations: 46.22 kB / 0.5405 GB, free: 5.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/0.3345, allocations: 0 / 0.5405 GB, free: 5.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.003183/0.3376, allocations: 1.969 MB / 0.5424 GB, free: 3.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/0.3377, allocations: 193.7 kB / 0.5426 GB, free: 3.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.338, allocations: 247.1 kB / 0.5428 GB, free: 3.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.338, allocations: 35.52 kB / 0.5429 GB, free: 3.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.3382, allocations: 201.1 kB / 0.5431 GB, free: 3.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.3383, allocations: 182.5 kB / 0.5432 GB, free: 2.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.3384, allocations: 101.1 kB / 0.5433 GB, free: 2.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3385, allocations: 346.5 kB / 0.5437 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.3388, allocations: 117.2 kB / 0.5438 GB, free: 2.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.3392, allocations: 294.7 kB / 0.5441 GB, free: 2.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006017/0.3398, allocations: 473.4 kB / 0.5445 GB, free: 1.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3398, allocations: 2.281 kB / 0.5445 GB, free: 1.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007981/0.3406, allocations: 489.7 kB / 0.545 GB, free: 1.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.3406, allocations: 6.938 kB / 0.545 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3406, allocations: 5.594 kB / 0.545 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.3407, allocations: 8.812 kB / 0.545 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.3412, allocations: 142.2 kB / 0.5451 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/0.3412, allocations: 16.33 kB / 0.5451 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.3415, allocations: 25.78 kB / 0.5452 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.3415, allocations: 24.06 kB / 0.5452 GB, free: 1.492 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.000207/0.3418, allocations: 168.5 kB / 0.5454 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.3419, allocations: 43.22 kB / 0.5454 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.3422, allocations: 129.3 kB / 0.5455 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.3422, allocations: 10.06 kB / 0.5455 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/0.3423, allocations: 5.875 kB / 0.5455 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.3423, allocations: 6.141 kB / 0.5455 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.3443, allocations: 1.251 MB / 0.5468 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.3443, allocations: 3.344 kB / 0.5468 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005335/0.3449, allocations: 115 kB / 0.5469 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.3449, allocations: 7.984 kB / 0.5469 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.3449, allocations: 16 kB / 0.5469 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.345, allocations: 11.94 kB / 0.5469 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.345, allocations: 4.281 kB / 0.5469 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.346, allocations: 1.005 MB / 0.5479 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.887e-05/0.3461, allocations: 124.6 kB / 0.548 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/0.3462, allocations: 8 kB / 0.548 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.3466, allocations: 16 kB / 0.548 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.3466, allocations: 43.83 kB / 0.5481 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.3467, allocations: 20 kB / 0.5481 GB, free: 14.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.3468, allocations: 178 kB / 0.5483 GB, free: 14.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3468, allocations: 0 / 0.5483 GB, free: 14.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007201/0.3476, allocations: 100 kB / 0.5484 GB, free: 14.48 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.001362/0.3489, allocations: 1.561 MB / 0.5499 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007043/0.3497, allocations: 355.5 kB / 0.5502 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3497, allocations: 0.875 kB / 0.5502 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002814/0.35, allocations: 175.8 kB / 0.5504 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.3511, allocations: 85.59 kB / 0.5505 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006115/0.3572, allocations: 4.643 MB / 0.555 GB, free: 7.312 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.3577, allocations: 0.8158 MB / 0.5558 GB, free: 6.469 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002324/0.358, allocations: 47.34 kB / 0.5559 GB, free: 6.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.3582, allocations: 127.4 kB / 0.556 GB, free: 6.297 MB / 414.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3582, allocations: 0 / 0.556 GB, free: 6.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/0.3954, allocations: 7.848 MB / 0.5636 GB, free: 14.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.31/8.706, allocations: 12.08 kB / 0.5637 GB, free: 14.55 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