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.001834/0.001834, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001469/0.001469, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.459/1.459, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.2285/0.2285, allocations: 46.94 MB / 360.8 MB, free: 3.941 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.002437/0.002437, allocations: 83.81 kB / 0.4961 GB, free: 7.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3343, allocations: 66.09 MB / 0.5607 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004468/0.3387, allocations: 2.912 MB / 0.5635 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.3407, allocations: 1.009 MB / 0.5645 GB, free: 116 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.3408, allocations: 11.88 kB / 0.5645 GB, free: 104 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.341, allocations: 63.38 kB / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.3413, allocations: 134.8 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005884/0.3419, allocations: 175.6 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005179/0.3424, allocations: 465.8 kB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.3426, allocations: 77.77 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.3428, allocations: 171.4 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.3431, allocations: 163.2 kB / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.3431, allocations: 32 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.3433, allocations: 55.98 kB / 0.5658 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.3434, allocations: 79.69 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.3435, allocations: 167.2 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005889/0.3441, allocations: 458 kB / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3441, allocations: 3.938 kB / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3441, allocations: 0 / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3441, allocations: 0 / 0.5665 GB, free: 14.09 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.001217/0.3454, allocations: 0.6261 MB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3454, allocations: 8.031 kB / 0.5671 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.213e-05/0.3455, allocations: 74.72 kB / 0.5672 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.3458, allocations: 68.64 kB / 0.5672 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.3463, allocations: 240.8 kB / 0.5675 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.3463, allocations: 29.38 kB / 0.5675 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.481e-05/0.3464, allocations: 40.12 kB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006414/0.347, allocations: 359.6 kB / 0.5679 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.347, allocations: 15.89 kB / 0.5679 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.3471, allocations: 12 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.3471, allocations: 8 kB / 0.5679 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005321/0.3476, allocations: 251.8 kB / 0.5681 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/0.3499, allocations: 1.416 MB / 0.5695 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007515/0.3507, allocations: 395.7 kB / 0.5699 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.3509, allocations: 129 kB / 0.57 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.3509, allocations: 8 kB / 0.57 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.351, allocations: 42.5 kB / 0.5701 GB, free: 10.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.254e-06/0.351, allocations: 0 / 0.5701 GB, free: 10.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003509/0.3545, allocations: 1.535 MB / 0.5716 GB, free: 8.441 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/0.3547, allocations: 195.8 kB / 0.5718 GB, free: 8.207 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/0.355, allocations: 264.1 kB / 0.572 GB, free: 7.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.3551, allocations: 33.7 kB / 0.572 GB, free: 7.902 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.3553, allocations: 200.8 kB / 0.5722 GB, free: 7.703 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.3555, allocations: 190.4 kB / 0.5724 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.3556, allocations: 106.2 kB / 0.5725 GB, free: 7.406 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3558, allocations: 346.8 kB / 0.5728 GB, free: 7.059 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.3561, allocations: 117.2 kB / 0.573 GB, free: 6.941 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.3565, allocations: 295.9 kB / 0.5732 GB, free: 6.578 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007331/0.3572, allocations: 470.4 kB / 0.5737 GB, free: 6.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.3572, allocations: 4 kB / 0.5737 GB, free: 6.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008422/0.3581, allocations: 493 kB / 0.5742 GB, free: 5.551 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3581, allocations: 8.438 kB / 0.5742 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.3581, allocations: 8.047 kB / 0.5742 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.3581, allocations: 11.98 kB / 0.5742 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.3586, allocations: 139.8 kB / 0.5743 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.427e-05/0.3586, allocations: 19.86 kB / 0.5743 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.3589, allocations: 16 kB / 0.5744 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.3589, allocations: 24 kB / 0.5744 GB, free: 5.328 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.0002133/0.3591, allocations: 169.7 kB / 0.5745 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.3593, allocations: 39.77 kB / 0.5746 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.3596, allocations: 127.3 kB / 0.5747 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.3596, allocations: 8 kB / 0.5747 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.3596, allocations: 11.88 kB / 0.5747 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.3596, allocations: 3.984 kB / 0.5747 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.3617, allocations: 1.186 MB / 0.5759 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.3617, allocations: 4 kB / 0.5759 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/0.3623, allocations: 119.8 kB / 0.576 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/0.3623, allocations: 4 kB / 0.576 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.3623, allocations: 16 kB / 0.576 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.3623, allocations: 8 kB / 0.576 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.076e-06/0.3623, allocations: 11.92 kB / 0.576 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.3635, allocations: 1.005 MB / 0.577 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/0.3635, allocations: 36.02 kB / 0.5771 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.3636, allocations: 16 kB / 0.5771 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.364, allocations: 19.92 kB / 0.5771 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.364, allocations: 47.81 kB / 0.5771 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.3641, allocations: 16 kB / 0.5771 GB, free: 2.328 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.3643, allocations: 175.1 kB / 0.5773 GB, free: 2.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3643, allocations: 0 / 0.5773 GB, free: 2.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006851/0.3649, allocations: 104 kB / 0.5774 GB, free: 2.059 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.001459/0.3664, allocations: 1.554 MB / 0.5789 GB, free: 456 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006803/0.3671, allocations: 328.1 kB / 0.5792 GB, free: 128 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3671, allocations: 4 kB / 0.5792 GB, free: 124 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003013/0.3674, allocations: 167.8 kB / 0.5794 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.001051/0.3684, allocations: 93.95 kB / 0.5795 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006391/0.3748, allocations: 4.658 MB / 0.584 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.3751, allocations: 204.4 kB / 0.5842 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002378/0.3753, allocations: 63.08 kB / 0.5843 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.3755, allocations: 131.4 kB / 0.5844 GB, free: 10.5 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3755, allocations: 192 / 0.5844 GB, free: 10.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04081/0.4163, allocations: 8.519 MB / 0.5927 GB, free: 2.145 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.81, allocations: 7.297 kB / 0.5928 GB, free: 2.141 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.962416567839682]