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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 112 kB / 20.48 MB, free: 1.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 211.2 kB / 23.77 MB, free: 4.441 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 46.95 MB / 360.9 MB, free: 3.906 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 79.86 kB / 0.4962 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3362, allocations: 66.09 MB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004577/0.3408, allocations: 2.912 MB / 0.5636 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.3426, allocations: 1.013 MB / 0.5646 GB, free: 104 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.3428, allocations: 7.938 kB / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.343, allocations: 63.31 kB / 0.5646 GB, free: 32 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.3432, allocations: 126.9 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005764/0.3438, allocations: 187.5 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005318/0.3443, allocations: 457.9 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.3445, allocations: 77.81 kB / 0.5654 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.3447, allocations: 179.3 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.345, allocations: 167.2 kB / 0.5658 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.386e-05/0.3451, allocations: 32 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.3452, allocations: 48 kB / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.916e-05/0.3453, allocations: 79.69 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.3455, allocations: 163.2 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006259/0.3461, allocations: 458 kB / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3461, allocations: 4 kB / 0.5665 GB, free: 14.08 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3461, allocations: 4 kB / 0.5665 GB, free: 14.08 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.3461, allocations: 0 / 0.5665 GB, free: 14.08 MB / 414.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.001331/0.3475, allocations: 0.6261 MB / 0.5671 GB, free: 13.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3475, allocations: 12.02 kB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.721e-05/0.3476, allocations: 70.72 kB / 0.5672 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002954/0.3479, allocations: 64.64 kB / 0.5673 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.3484, allocations: 240.9 kB / 0.5675 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.3484, allocations: 29.38 kB / 0.5675 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.01e-05/0.3485, allocations: 52.05 kB / 0.5676 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006264/0.3491, allocations: 359.6 kB / 0.5679 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.3491, allocations: 7.953 kB / 0.5679 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.3492, allocations: 16 kB / 0.568 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.3492, allocations: 8 kB / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.3497, allocations: 259 kB / 0.5682 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.3518, allocations: 1.405 MB / 0.5696 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007727/0.3526, allocations: 403.9 kB / 0.57 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.3528, allocations: 129.1 kB / 0.5701 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3529, allocations: 8 kB / 0.5701 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.3529, allocations: 42.5 kB / 0.5701 GB, free: 10.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.033e-06/0.3529, allocations: 0 / 0.5701 GB, free: 10.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003126/0.356, allocations: 1.531 MB / 0.5716 GB, free: 8.438 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.3562, allocations: 203.8 kB / 0.5718 GB, free: 8.195 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.3564, allocations: 256.1 kB / 0.5721 GB, free: 7.938 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.3565, allocations: 37.7 kB / 0.5721 GB, free: 7.895 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.3566, allocations: 200.7 kB / 0.5723 GB, free: 7.695 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.3568, allocations: 190.4 kB / 0.5725 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.3569, allocations: 106.3 kB / 0.5726 GB, free: 7.398 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3571, allocations: 346.8 kB / 0.5729 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.3574, allocations: 117.3 kB / 0.573 GB, free: 6.934 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.3577, allocations: 292 kB / 0.5733 GB, free: 6.574 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006805/0.3584, allocations: 469.7 kB / 0.5737 GB, free: 6.039 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3584, allocations: 0 / 0.5737 GB, free: 6.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008304/0.3592, allocations: 497.1 kB / 0.5742 GB, free: 5.547 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3593, allocations: 4 kB / 0.5742 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.3593, allocations: 11.98 kB / 0.5742 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.3593, allocations: 8 kB / 0.5742 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.3598, allocations: 143.8 kB / 0.5744 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.3598, allocations: 12.38 kB / 0.5744 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.3601, allocations: 27.98 kB / 0.5744 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.3601, allocations: 24 kB / 0.5744 GB, free: 5.32 MB / 414.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.0001873/0.3603, allocations: 169.6 kB / 0.5746 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.3604, allocations: 39.77 kB / 0.5746 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.3607, allocations: 127.3 kB / 0.5748 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.3607, allocations: 11.94 kB / 0.5748 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.3607, allocations: 7.938 kB / 0.5748 GB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.3607, allocations: 3.984 kB / 0.5748 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.3627, allocations: 1.182 MB / 0.5759 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3627, allocations: 4 kB / 0.5759 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005345/0.3632, allocations: 115.9 kB / 0.5761 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.3632, allocations: 4 kB / 0.5761 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.3632, allocations: 16.31 kB / 0.5761 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.76e-05/0.3633, allocations: 15.94 kB / 0.5761 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3633, allocations: 4 kB / 0.5761 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.3644, allocations: 1.005 MB / 0.5771 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/0.3644, allocations: 35.75 kB / 0.5771 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.3645, allocations: 19.94 kB / 0.5771 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.3649, allocations: 16 kB / 0.5771 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.316e-05/0.365, allocations: 39.88 kB / 0.5772 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.365, allocations: 23.98 kB / 0.5772 GB, free: 2.328 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.3652, allocations: 179.1 kB / 0.5774 GB, free: 2.156 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3652, allocations: 0 / 0.5774 GB, free: 2.156 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006298/0.3658, allocations: 96 kB / 0.5775 GB, free: 2.062 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.001426/0.3672, allocations: 1.558 MB / 0.579 GB, free: 456 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006522/0.3679, allocations: 339.2 kB / 0.5793 GB, free: 116 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3679, allocations: 0 / 0.5793 GB, free: 116 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.3682, allocations: 165.1 kB / 0.5795 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.3692, allocations: 94.72 kB / 0.5796 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006608/0.3758, allocations: 4.661 MB / 0.5841 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.3761, allocations: 208.3 kB / 0.5843 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002064/0.3763, allocations: 51.33 kB / 0.5844 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.3765, allocations: 131.4 kB / 0.5845 GB, free: 10.48 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3765, allocations: 0 / 0.5845 GB, free: 10.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03852/0.415, allocations: 8.616 MB / 0.5929 GB, free: 2.043 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.69, allocations: 0 / 0.5929 GB, free: 2.043 MB / 430.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000399521 ModelicaTest_trunk_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass3.s in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass3.s from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass3.v in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass3.v from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass4.s in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass4.s from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass4.v in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass4.v from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass5.s in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass5.s from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass5.v in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass5.v from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass6.s in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass6.s from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass6.v in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass6.v from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.809594873804599]