Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001062/0.001062, allocations: 114.9 kB / 18.45 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 214.8 kB / 19.41 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2108/0.2108, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 79.86 kB / 482 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3247, allocations: 62.43 MB / 0.5316 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002542/0.3273, allocations: 1.674 MB / 0.5333 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002896/0.3276, allocations: 110.8 kB / 0.5334 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.3277, allocations: 2.406 kB / 0.5334 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.049e-05/0.3278, allocations: 12.86 kB / 0.5334 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.3279, allocations: 48.39 kB / 0.5334 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001089/0.328, allocations: 23.5 kB / 0.5335 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.3282, allocations: 132.9 kB / 0.5336 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.3283, allocations: 34.75 kB / 0.5336 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.3284, allocations: 49.58 kB / 0.5337 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.3285, allocations: 47.62 kB / 0.5337 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.3285, allocations: 8.906 kB / 0.5337 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.245e-05/0.3285, allocations: 10.09 kB / 0.5337 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.3285, allocations: 27.38 kB / 0.5338 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.776e-05/0.3286, allocations: 52.56 kB / 0.5338 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.3288, allocations: 124 kB / 0.5339 GB, free: 12.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3288, allocations: 0 / 0.5339 GB, free: 12.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3288, allocations: 1.062 kB / 0.5339 GB, free: 12.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3288, allocations: 0 / 0.5339 GB, free: 12.06 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000467/0.3293, allocations: 404.2 kB / 0.5343 GB, free: 11.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3293, allocations: 13.48 kB / 0.5343 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.3294, allocations: 13.94 kB / 0.5343 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.3296, allocations: 189.9 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3296, allocations: 10.3 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.3296, allocations: 20.11 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.3298, allocations: 130 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3298, allocations: 5.188 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3299, allocations: 8.844 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3299, allocations: 2.969 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.33, allocations: 55.25 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006901/0.3307, allocations: 0.5419 MB / 0.5353 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.3308, allocations: 92.69 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.232e-05/0.3309, allocations: 31.52 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.3309, allocations: 5.312 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3309, allocations: 31.94 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 2.575e-06/0.3309, allocations: 0 / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005376/0.3315, allocations: 315 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.3315, allocations: 82.42 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/0.3316, allocations: 120.9 kB / 0.5359 GB, free: 10.08 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3316, allocations: 25.7 kB / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.3317, allocations: 117.2 kB / 0.5361 GB, free: 9.938 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.3317, allocations: 35.67 kB / 0.5361 GB, free: 9.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.3318, allocations: 35.33 kB / 0.5361 GB, free: 9.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.402e-05/0.3319, allocations: 321.5 kB / 0.5364 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-05/0.3319, allocations: 24.36 kB / 0.5365 GB, free: 9.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.005e-05/0.332, allocations: 84.64 kB / 0.5365 GB, free: 9.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.3321, allocations: 129.4 kB / 0.5367 GB, free: 9.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3322, allocations: 1.375 kB / 0.5367 GB, free: 9.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002616/0.3324, allocations: 164.4 kB / 0.5368 GB, free: 9.215 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3324, allocations: 6.562 kB / 0.5368 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3325, allocations: 2.438 kB / 0.5368 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001875/0.3326, allocations: 46.98 kB / 0.5369 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.3327, allocations: 21.09 kB / 0.5369 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.3344, allocations: 2.735 MB / 0.5396 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/0.3345, allocations: 11.25 kB / 0.5396 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3345, allocations: 10.88 kB / 0.5396 GB, free: 6.297 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.649e-05/0.3346, allocations: 127.5 kB / 0.5397 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.3347, allocations: 8.406 kB / 0.5397 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.3347, allocations: 17.89 kB / 0.5397 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3347, allocations: 0 / 0.5397 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3347, allocations: 1.219 kB / 0.5397 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.3348, allocations: 83.23 kB / 0.5398 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.3348, allocations: 1.25 kB / 0.5398 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.394e-05/0.3349, allocations: 0.9375 kB / 0.5398 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.3349, allocations: 12.64 kB / 0.5398 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003569/0.3353, allocations: 292.2 kB / 0.5401 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002223/0.3355, allocations: 366.2 kB / 0.5404 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.277e-05/0.3356, allocations: 26.36 kB / 0.5405 GB, free: 5.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.812e-05/0.3356, allocations: 97.41 kB / 0.5406 GB, free: 5.359 MB / 398.1 MB Notification: Performance of Backend: time 2.9e-07/0.3356, allocations: 0 / 0.5406 GB, free: 5.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006916/0.3363, allocations: 358.7 kB / 0.5409 GB, free: 5.039 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009869/0.3373, allocations: 0.9666 MB / 0.5419 GB, free: 4.145 MB / 398.1 MB Notification: Performance of Templates: time 0.003988/0.3413, allocations: 1.461 MB / 0.5433 GB, free: 3.406 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches