Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001452/0.001452, 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.001721/0.001721, 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.328/1.328, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2026/0.2026, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 83.86 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2949, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003845/0.2988, allocations: 2.855 MB / 0.5344 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.3, allocations: 0.8059 MB / 0.5352 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.3002, allocations: 12.19 kB / 0.5352 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.3004, allocations: 62.2 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.3006, allocations: 128.6 kB / 0.5354 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.3009, allocations: 114.9 kB / 0.5355 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003913/0.3013, allocations: 453.1 kB / 0.536 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.3016, allocations: 193.5 kB / 0.5361 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.3019, allocations: 179.1 kB / 0.5363 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.3021, allocations: 187.3 kB / 0.5365 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.424e-05/0.3022, allocations: 35.12 kB / 0.5365 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.951e-05/0.3023, allocations: 42.31 kB / 0.5366 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.426e-05/0.3024, allocations: 82.47 kB / 0.5367 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.3025, allocations: 205.7 kB / 0.5368 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000456/0.303, allocations: 460.5 kB / 0.5373 GB, free: 9.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.303, allocations: 7.938 kB / 0.5373 GB, free: 9.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.303, allocations: 0 / 0.5373 GB, free: 9.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.303, allocations: 1.094 kB / 0.5373 GB, free: 9.266 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009599/0.304, allocations: 0.6632 MB / 0.5379 GB, free: 8.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.304, allocations: 8.594 kB / 0.538 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000327/0.3044, allocations: 71.88 kB / 0.538 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.3047, allocations: 311.7 kB / 0.5383 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.3048, allocations: 27.97 kB / 0.5383 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.889e-05/0.3049, allocations: 42.45 kB / 0.5384 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.3055, allocations: 381.2 kB / 0.5387 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.3055, allocations: 13.02 kB / 0.5388 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.449e-05/0.3056, allocations: 15.28 kB / 0.5388 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.3056, allocations: 10 kB / 0.5388 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/0.3061, allocations: 243.8 kB / 0.539 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.3078, allocations: 1.096 MB / 0.5401 GB, free: 7.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/0.3083, allocations: 359.3 kB / 0.5404 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.3086, allocations: 173.4 kB / 0.5406 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.3086, allocations: 5.125 kB / 0.5406 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.3086, allocations: 49.19 kB / 0.5406 GB, free: 6.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 1.984e-06/0.3086, allocations: 0 / 0.5406 GB, free: 6.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003952/0.3126, allocations: 2.448 MB / 0.543 GB, free: 4.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.3127, allocations: 109.4 kB / 0.5431 GB, free: 4.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.3129, allocations: 241.3 kB / 0.5434 GB, free: 4.406 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.313, allocations: 35.95 kB / 0.5434 GB, free: 4.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.3131, allocations: 193.5 kB / 0.5436 GB, free: 4.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.3133, allocations: 191.5 kB / 0.5438 GB, free: 4.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.3134, allocations: 86.88 kB / 0.5439 GB, free: 3.961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3136, allocations: 350.7 kB / 0.5442 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.3138, allocations: 127 kB / 0.5443 GB, free: 3.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/0.3142, allocations: 239.4 kB / 0.5445 GB, free: 3.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006196/0.3148, allocations: 395.9 kB / 0.5449 GB, free: 3.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3148, allocations: 1.188 kB / 0.5449 GB, free: 3.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001113/0.3159, allocations: 0.5609 MB / 0.5455 GB, free: 2.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.316, allocations: 6.969 kB / 0.5455 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.316, allocations: 6.109 kB / 0.5455 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003762/0.3164, allocations: 121.2 kB / 0.5456 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.3168, allocations: 101.6 kB / 0.5457 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004282/0.3211, allocations: 5.21 MB / 0.5508 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.3214, allocations: 27.89 kB / 0.5508 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.3214, allocations: 20 kB / 0.5508 GB, free: 13.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002045/0.3216, allocations: 165.8 kB / 0.551 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3217, allocations: 39.53 kB / 0.551 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.073e-05/0.3218, allocations: 46.17 kB / 0.5511 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3218, allocations: 7.984 kB / 0.5511 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3218, allocations: 0 / 0.5511 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.287e-05/0.3219, allocations: 104.7 kB / 0.5512 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.322, allocations: 12 kB / 0.5512 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.3222, allocations: 19.98 kB / 0.5512 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.3223, allocations: 47.92 kB / 0.5512 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001451/0.3238, allocations: 0.8244 MB / 0.5521 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001039/0.3248, allocations: 0.9344 MB / 0.553 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002666/0.3251, allocations: 175 kB / 0.5531 GB, free: 10.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.3253, allocations: 182 kB / 0.5533 GB, free: 10.46 MB / 414.1 MB Notification: Performance of Backend: time 6.41e-07/0.3253, allocations: 0 / 0.5533 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.3268, allocations: 0.7245 MB / 0.554 GB, free: 9.688 MB / 414.1 MB Notification: Performance of SimCode: time 0.001756/0.3286, allocations: 1.578 MB / 0.5556 GB, free: 8.055 MB / 414.1 MB Notification: Performance of Templates: time 0.009287/0.3379, allocations: 5.124 MB / 0.5606 GB, free: 2.945 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches