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.001117/0.001117, allocations: 118.9 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.001174/0.001174, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 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.2006/0.2006, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 75.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2943, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003587/0.298, allocations: 2.851 MB / 0.5344 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.2994, allocations: 0.7676 MB / 0.5352 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003036/0.2998, allocations: 8.25 kB / 0.5352 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.3, allocations: 60.88 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.3004, allocations: 124.6 kB / 0.5354 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.3008, allocations: 109.5 kB / 0.5355 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005694/0.3014, allocations: 435.2 kB / 0.5359 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/0.3016, allocations: 146.7 kB / 0.536 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.3019, allocations: 181.4 kB / 0.5362 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.3022, allocations: 174.8 kB / 0.5364 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.928e-05/0.3023, allocations: 33.31 kB / 0.5364 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.3024, allocations: 34.91 kB / 0.5364 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.3025, allocations: 78.53 kB / 0.5365 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.3026, allocations: 204.2 kB / 0.5367 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.3031, allocations: 443.6 kB / 0.5371 GB, free: 9.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3032, allocations: 1.312 kB / 0.5371 GB, free: 9.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3032, allocations: 0 / 0.5371 GB, free: 9.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.3032, allocations: 0 / 0.5371 GB, free: 9.383 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.0009629/0.3041, allocations: 0.653 MB / 0.5378 GB, free: 8.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3042, allocations: 12.72 kB / 0.5378 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002562/0.3045, allocations: 56.73 kB / 0.5378 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.3048, allocations: 283.3 kB / 0.5381 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.3048, allocations: 27.41 kB / 0.5381 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-05/0.3049, allocations: 45.67 kB / 0.5382 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006118/0.3055, allocations: 391 kB / 0.5386 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.3056, allocations: 11.39 kB / 0.5386 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.3056, allocations: 11.41 kB / 0.5386 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.3056, allocations: 9.469 kB / 0.5386 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/0.306, allocations: 223.1 kB / 0.5388 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.3081, allocations: 1.727 MB / 0.5405 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.3085, allocations: 260.1 kB / 0.5407 GB, free: 6.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.3086, allocations: 98.88 kB / 0.5408 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.3087, allocations: 7.125 kB / 0.5408 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3087, allocations: 42.69 kB / 0.5409 GB, free: 6.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.3087, allocations: 0 / 0.5409 GB, free: 6.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006339/0.3093, allocations: 265.3 kB / 0.5411 GB, free: 6.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.027e-05/0.3094, allocations: 212.8 kB / 0.5413 GB, free: 5.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.3097, allocations: 280.7 kB / 0.5416 GB, free: 5.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.3097, allocations: 31.89 kB / 0.5416 GB, free: 5.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.3098, allocations: 235.5 kB / 0.5419 GB, free: 5.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/0.3099, allocations: 116.9 kB / 0.542 GB, free: 5.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.31, allocations: 96.19 kB / 0.5421 GB, free: 5.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3101, allocations: 350.9 kB / 0.5424 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.3103, allocations: 99.41 kB / 0.5425 GB, free: 4.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.3107, allocations: 421.8 kB / 0.5429 GB, free: 4.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005877/0.3113, allocations: 0.5759 MB / 0.5434 GB, free: 3.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.3113, allocations: 3.594 kB / 0.5435 GB, free: 3.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008272/0.3121, allocations: 0.5286 MB / 0.544 GB, free: 3.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3122, allocations: 13.59 kB / 0.544 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.3122, allocations: 16.22 kB / 0.544 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.3122, allocations: 15.09 kB / 0.544 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.3127, allocations: 153.1 kB / 0.5442 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/0.3127, allocations: 18.5 kB / 0.5442 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.313, allocations: 66.8 kB / 0.5442 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.313, allocations: 31.59 kB / 0.5443 GB, free: 3.289 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.000154/0.3132, allocations: 184.4 kB / 0.5444 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.3133, allocations: 32 kB / 0.5445 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.143e-05/0.3134, allocations: 39.42 kB / 0.5445 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.3134, allocations: 5.141 kB / 0.5445 GB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3134, allocations: 2.375 kB / 0.5445 GB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-05/0.3135, allocations: 102.3 kB / 0.5446 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.3135, allocations: 8.156 kB / 0.5446 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.3139, allocations: 17.48 kB / 0.5446 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.3139, allocations: 29.03 kB / 0.5447 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008913/0.3148, allocations: 0.8135 MB / 0.5455 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007426/0.3156, allocations: 0.9472 MB / 0.5464 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001606/0.3158, allocations: 85.12 kB / 0.5465 GB, free: 1.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.3159, allocations: 189 kB / 0.5467 GB, free: 1.258 MB / 398.1 MB Notification: Performance of Backend: time 4.41e-07/0.3159, allocations: 1.188 kB / 0.5467 GB, free: 1.258 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.3171, allocations: 324.9 kB / 0.547 GB, free: 1.074 MB / 398.1 MB Notification: Performance of SimCode: time 0.002163/0.3192, allocations: 2.007 MB / 0.5489 GB, free: 15.16 MB / 414.1 MB Notification: Performance of Templates: time 0.007267/0.3265, allocations: 3.711 MB / 0.5525 GB, free: 11.48 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