Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.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: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001715/0.001715, allocations: 108.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002128/0.002129, allocations: 210.8 kB / 19.42 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2214/0.2214, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 71.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3569, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003827/0.3608, allocations: 2.856 MB / 0.5344 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.362, allocations: 0.7793 MB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.3622, allocations: 6.875 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.3624, allocations: 54.27 kB / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.3626, allocations: 130 kB / 0.5354 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.3629, allocations: 109.6 kB / 0.5355 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.3634, allocations: 438.8 kB / 0.5359 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.3636, allocations: 134.2 kB / 0.536 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.3639, allocations: 181.9 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.3641, allocations: 183.7 kB / 0.5364 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.073e-05/0.3642, allocations: 32.44 kB / 0.5364 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-05/0.3643, allocations: 34.88 kB / 0.5364 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.3644, allocations: 74.86 kB / 0.5365 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.3645, allocations: 200.1 kB / 0.5367 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.365, allocations: 446.8 kB / 0.5371 GB, free: 9.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.365, allocations: 0 / 0.5371 GB, free: 9.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.365, allocations: 3.938 kB / 0.5371 GB, free: 9.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.365, allocations: 1.125 kB / 0.5371 GB, free: 9.402 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009155/0.366, allocations: 0.6597 MB / 0.5378 GB, free: 8.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.366, allocations: 8.719 kB / 0.5378 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.3663, allocations: 61.89 kB / 0.5379 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.3667, allocations: 294.4 kB / 0.5381 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.3667, allocations: 28.53 kB / 0.5382 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.641e-05/0.3668, allocations: 41.55 kB / 0.5382 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005992/0.3674, allocations: 394.5 kB / 0.5386 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.3674, allocations: 10.98 kB / 0.5386 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.3675, allocations: 15.66 kB / 0.5386 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.3675, allocations: 10 kB / 0.5386 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004256/0.3679, allocations: 218.5 kB / 0.5388 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.37, allocations: 1.72 MB / 0.5405 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.3704, allocations: 264.8 kB / 0.5408 GB, free: 6.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.3706, allocations: 95.2 kB / 0.5408 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.3706, allocations: 11.41 kB / 0.5409 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3707, allocations: 41.94 kB / 0.5409 GB, free: 6.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.3707, allocations: 0 / 0.5409 GB, free: 6.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006582/0.3714, allocations: 273.7 kB / 0.5412 GB, free: 6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.418e-05/0.3714, allocations: 208.7 kB / 0.5414 GB, free: 5.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.3717, allocations: 277.6 kB / 0.5416 GB, free: 5.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.3717, allocations: 30.83 kB / 0.5416 GB, free: 5.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.3719, allocations: 248.5 kB / 0.5419 GB, free: 5.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.134e-05/0.372, allocations: 120.6 kB / 0.542 GB, free: 5.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.3721, allocations: 104.4 kB / 0.5421 GB, free: 5.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3722, allocations: 351.4 kB / 0.5424 GB, free: 4.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.3724, allocations: 98.91 kB / 0.5425 GB, free: 4.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.3728, allocations: 429.8 kB / 0.5429 GB, free: 4.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/0.3735, allocations: 0.5681 MB / 0.5435 GB, free: 3.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.3735, allocations: 4 kB / 0.5435 GB, free: 3.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008446/0.3743, allocations: 0.5281 MB / 0.544 GB, free: 3.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.3744, allocations: 9.25 kB / 0.544 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.3744, allocations: 16.84 kB / 0.544 GB, free: 3.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.394e-05/0.3744, allocations: 15.19 kB / 0.5441 GB, free: 3.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/0.3749, allocations: 153.1 kB / 0.5442 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.306e-05/0.3749, allocations: 18.97 kB / 0.5442 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.3752, allocations: 71.77 kB / 0.5443 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.3753, allocations: 30.91 kB / 0.5443 GB, free: 3.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0001653/0.3755, allocations: 176.2 kB / 0.5445 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.3756, allocations: 36.53 kB / 0.5445 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.698e-05/0.3757, allocations: 42.75 kB / 0.5446 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3757, allocations: 2.5 kB / 0.5446 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3757, allocations: 5.312 kB / 0.5446 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.3758, allocations: 109.9 kB / 0.5447 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.3759, allocations: 8.75 kB / 0.5447 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.3762, allocations: 16.92 kB / 0.5447 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.3763, allocations: 17.16 kB / 0.5447 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009632/0.3773, allocations: 0.8132 MB / 0.5455 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008079/0.3781, allocations: 0.9552 MB / 0.5464 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001707/0.3783, allocations: 86.44 kB / 0.5465 GB, free: 1.367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.3784, allocations: 184.9 kB / 0.5467 GB, free: 1.238 MB / 398.1 MB Notification: Performance of Backend: time 6.31e-07/0.3784, allocations: 0 / 0.5467 GB, free: 1.238 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.3797, allocations: 323.6 kB / 0.547 GB, free: 1.059 MB / 398.1 MB Notification: Performance of SimCode: time 0.002403/0.3821, allocations: 2.032 MB / 0.549 GB, free: 15.14 MB / 414.1 MB Notification: Performance of Templates: time 0.007225/0.3893, allocations: 3.608 MB / 0.5525 GB, free: 11.56 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches