Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 197 kB / 16.1 MB, free: 5.488 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 226.6 MB / 243.4 MB, free: 14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008703/0.0008703, allocations: 97.95 kB / 295.5 MB, free: 9.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1822/0.1822, allocations: 44.83 MB / 392.3 MB, free: 9.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002549/0.0002552, allocations: 8 kB / 465.3 MB, free: 49.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.108, allocations: 62.96 MB / 0.5159 GB, free: 2.453 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.229/0.337, allocations: 2.592 MB / 0.5184 GB, free: 10.02 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.3393, allocations: 1.012 MB / 0.5194 GB, free: 9.945 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.3396, allocations: 8.5 kB / 0.5194 GB, free: 9.945 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.3398, allocations: 46.11 kB / 0.5194 GB, free: 9.926 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.34, allocations: 103.5 kB / 0.5195 GB, free: 9.879 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.3406, allocations: 140.7 kB / 0.5197 GB, free: 9.863 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004682/0.341, allocations: 424.5 kB / 0.5201 GB, free: 9.742 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.3413, allocations: 96.27 kB / 0.5202 GB, free: 9.719 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.3415, allocations: 144.4 kB / 0.5203 GB, free: 9.688 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.3417, allocations: 168.3 kB / 0.5205 GB, free: 9.645 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.3418, allocations: 16.75 kB / 0.5205 GB, free: 9.645 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.3419, allocations: 36.84 kB / 0.5205 GB, free: 9.645 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.342, allocations: 58.95 kB / 0.5206 GB, free: 9.633 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.3421, allocations: 200.3 kB / 0.5208 GB, free: 9.551 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004964/0.3427, allocations: 320.7 kB / 0.5211 GB, free: 9.516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.3427, allocations: 0 / 0.5211 GB, free: 9.516 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3427, allocations: 0.9062 kB / 0.5211 GB, free: 9.516 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3427, allocations: 0 / 0.5211 GB, free: 9.516 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001023/0.3437, allocations: 0.626 MB / 0.5217 GB, free: 9.039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3438, allocations: 9.031 kB / 0.5217 GB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002878/0.3441, allocations: 63.66 kB / 0.5218 GB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.3444, allocations: 288.4 kB / 0.522 GB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/0.3444, allocations: 28.88 kB / 0.5221 GB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.308e-05/0.3445, allocations: 40.81 kB / 0.5221 GB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006364/0.3452, allocations: 363.9 kB / 0.5224 GB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.3452, allocations: 4.312 kB / 0.5224 GB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.3452, allocations: 12.34 kB / 0.5225 GB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.3453, allocations: 8.938 kB / 0.5225 GB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005635/0.3458, allocations: 243.5 kB / 0.5227 GB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.3478, allocations: 1.528 MB / 0.5242 GB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000695/0.3485, allocations: 421.4 kB / 0.5246 GB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.3487, allocations: 129 kB / 0.5247 GB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.3487, allocations: 5.609 kB / 0.5247 GB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.3488, allocations: 53.67 kB / 0.5248 GB, free: 7.211 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 2.014e-06/0.3488, allocations: 0 / 0.5248 GB, free: 7.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.002952/0.3517, allocations: 1.955 MB / 0.5267 GB, free: 5.574 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.3518, allocations: 192.5 kB / 0.5269 GB, free: 5.352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.3521, allocations: 248.4 kB / 0.5271 GB, free: 5.199 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.3521, allocations: 35.92 kB / 0.5271 GB, free: 5.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.79e-05/0.3522, allocations: 194.5 kB / 0.5273 GB, free: 4.996 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.3523, allocations: 184.3 kB / 0.5275 GB, free: 4.855 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/0.3524, allocations: 9.688 kB / 0.5275 GB, free: 4.848 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.3524, allocations: 347.6 kB / 0.5278 GB, free: 4.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.3527, allocations: 116.2 kB / 0.528 GB, free: 4.484 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.353, allocations: 300.6 kB / 0.5282 GB, free: 4.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/0.3536, allocations: 462.2 kB / 0.5287 GB, free: 3.863 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3536, allocations: 2.219 kB / 0.5287 GB, free: 3.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000779/0.3544, allocations: 496.9 kB / 0.5292 GB, free: 3.656 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.3544, allocations: 11.78 kB / 0.5292 GB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.3544, allocations: 10.75 kB / 0.5292 GB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.3545, allocations: 13.73 kB / 0.5292 GB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/0.3549, allocations: 138.4 kB / 0.5293 GB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/0.355, allocations: 13.62 kB / 0.5293 GB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.3552, allocations: 21.73 kB / 0.5294 GB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.3553, allocations: 25.08 kB / 0.5294 GB, free: 3.617 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001617/0.3554, allocations: 168.3 kB / 0.5295 GB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.3556, allocations: 44.19 kB / 0.5296 GB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.3558, allocations: 132.8 kB / 0.5297 GB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.3558, allocations: 5.531 kB / 0.5297 GB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.3559, allocations: 2.406 kB / 0.5297 GB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.3559, allocations: 4.062 kB / 0.5297 GB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.3577, allocations: 1.252 MB / 0.5309 GB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.3577, allocations: 8.094 kB / 0.531 GB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005349/0.3583, allocations: 121.2 kB / 0.5311 GB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.3583, allocations: 5.438 kB / 0.5311 GB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.3583, allocations: 12.23 kB / 0.5311 GB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.3583, allocations: 6.641 kB / 0.5311 GB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/0.3583, allocations: 13.8 kB / 0.5311 GB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009958/0.3593, allocations: 1.006 MB / 0.5321 GB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.3594, allocations: 111.2 kB / 0.5322 GB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.3595, allocations: 16.22 kB / 0.5322 GB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.3598, allocations: 13.42 kB / 0.5322 GB, free: 1.516 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.3599, allocations: 40.41 kB / 0.5323 GB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.36, allocations: 22.41 kB / 0.5323 GB, free: 1.496 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001577/0.3601, allocations: 170 kB / 0.5324 GB, free: 1.391 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3601, allocations: 0 / 0.5324 GB, free: 1.391 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006303/0.3608, allocations: 98.47 kB / 0.5325 GB, free: 1.375 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001219/0.3609, allocations: 116.4 kB / 0.5326 GB, free: 1.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006596/0.3616, allocations: 347 kB / 0.533 GB, free: 1.156 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3616, allocations: 0 / 0.533 GB, free: 1.156 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.3619, allocations: 172.2 kB / 0.5331 GB, free: 1.102 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.3629, allocations: 82.41 kB / 0.5332 GB, free: 1.074 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.3653, allocations: 1.799 MB / 0.535 GB, free: 15.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.3657, allocations: 0.8046 MB / 0.5358 GB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.3659, allocations: 40.44 kB / 0.5358 GB, free: 15.03 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3659, allocations: 4.281 kB / 0.5358 GB, free: 15.02 MB / 362.7 MB Notification: Performance of Templates: time 0.008867/0.3748, allocations: 4.62 MB / 0.5403 GB, free: 14.16 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches