Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001444, allocations: 173.9 kB / 16.08 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.6 MB / 222.4 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009304/0.0009304, allocations: 98.55 kB / 270.8 MB, free: 8.117 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4597/0.4597, allocations: 43.68 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.000314, allocations: 8 kB / 432.3 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1163, allocations: 58.85 MB / 491.2 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.002992/0.1193, allocations: 2.412 MB / 493.6 MB, free: 7.391 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1205, allocations: 0.7062 MB / 494.3 MB, free: 6.676 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.1208, allocations: 8 kB / 494.3 MB, free: 6.668 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.121, allocations: 47.62 kB / 494.3 MB, free: 6.621 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.1212, allocations: 111.1 kB / 494.4 MB, free: 6.512 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.1215, allocations: 71.92 kB / 494.5 MB, free: 6.441 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004335/0.1219, allocations: 410 kB / 494.9 MB, free: 6.039 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.1222, allocations: 117.1 kB / 495 MB, free: 5.922 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.1225, allocations: 151.4 kB / 495.2 MB, free: 5.773 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.1227, allocations: 167.2 kB / 495.3 MB, free: 5.609 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.108e-05/0.1228, allocations: 16 kB / 495.3 MB, free: 5.594 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.908e-05/0.1228, allocations: 20 kB / 495.4 MB, free: 5.574 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.55e-05/0.1229, allocations: 67.69 kB / 495.4 MB, free: 5.508 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.1231, allocations: 204.8 kB / 495.6 MB, free: 5.301 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003547/0.1235, allocations: 402.6 kB / 496 MB, free: 4.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1235, allocations: 4 kB / 496 MB, free: 4.902 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1235, allocations: 0 / 496 MB, free: 4.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.1235, allocations: 0 / 496 MB, free: 4.902 MB / 378.7 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.0008865/0.1244, allocations: 0.5773 MB / 496.6 MB, free: 4.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.1244, allocations: 11.97 kB / 496.6 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.732e-05/0.1245, allocations: 40.47 kB / 496.7 MB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.1248, allocations: 280.4 kB / 496.9 MB, free: 3.914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.1249, allocations: 37.31 kB / 497 MB, free: 3.879 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.566e-05/0.1249, allocations: 40.28 kB / 497 MB, free: 3.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006342/0.1256, allocations: 402.4 kB / 497.4 MB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.1256, allocations: 11.91 kB / 497.4 MB, free: 3.398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.1256, allocations: 16 kB / 497.4 MB, free: 3.383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1257, allocations: 8 kB / 497.4 MB, free: 3.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004312/0.1261, allocations: 231.3 kB / 497.7 MB, free: 3.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.1284, allocations: 1.726 MB / 499.4 MB, free: 1.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.1288, allocations: 262.4 kB / 499.6 MB, free: 1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.129, allocations: 102.1 kB / 499.7 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.129, allocations: 7.938 kB / 499.8 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.129, allocations: 38.56 kB / 499.8 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.833e-06/0.129, allocations: 4 kB / 499.8 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006336/0.1297, allocations: 273 kB / 0.4883 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.607e-05/0.1298, allocations: 218 kB / 0.4885 GB, free: 292 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.13, allocations: 270.9 kB / 0.4888 GB, free: 16 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.1917/0.3217, allocations: 30.33 kB / 0.4888 GB, free: 42.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.3221, allocations: 237.9 kB / 0.4891 GB, free: 42.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.3223, allocations: 118.2 kB / 0.4892 GB, free: 42.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.3223, allocations: 13.34 kB / 0.4892 GB, free: 42.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3225, allocations: 343.5 kB / 0.4895 GB, free: 42.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.3228, allocations: 102.7 kB / 0.4896 GB, free: 42.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.3233, allocations: 432.3 kB / 0.49 GB, free: 41.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007752/0.3241, allocations: 0.5728 MB / 0.4906 GB, free: 41.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/0.3241, allocations: 3.5 kB / 0.4906 GB, free: 41.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001097/0.3252, allocations: 0.5268 MB / 0.4911 GB, free: 41.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.3252, allocations: 9.906 kB / 0.4911 GB, free: 41.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/0.3253, allocations: 12.97 kB / 0.4911 GB, free: 41.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.143e-05/0.3253, allocations: 16.03 kB / 0.4911 GB, free: 41.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.3258, allocations: 156.5 kB / 0.4913 GB, free: 41.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-05/0.3258, allocations: 25.8 kB / 0.4913 GB, free: 41.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.3262, allocations: 69.83 kB / 0.4914 GB, free: 41.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/0.3263, allocations: 33.66 kB / 0.4914 GB, free: 41.35 MB / 378.7 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.0002845/0.3266, allocations: 181.5 kB / 0.4916 GB, free: 41.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.3268, allocations: 32.83 kB / 0.4916 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.461e-05/0.3269, allocations: 37.52 kB / 0.4917 GB, free: 41.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.3269, allocations: 9.234 kB / 0.4917 GB, free: 41.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.3269, allocations: 2.156 kB / 0.4917 GB, free: 41.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.3269, allocations: 3.422 kB / 0.4917 GB, free: 41.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.3284, allocations: 0.6431 MB / 0.4923 GB, free: 40.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.3284, allocations: 6.625 kB / 0.4923 GB, free: 40.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/0.3289, allocations: 100.4 kB / 0.4924 GB, free: 40.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.3289, allocations: 3.156 kB / 0.4924 GB, free: 40.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.3289, allocations: 14.66 kB / 0.4924 GB, free: 40.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.329, allocations: 3.766 kB / 0.4924 GB, free: 40.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.329, allocations: 2.719 kB / 0.4924 GB, free: 40.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007193/0.3297, allocations: 0.8524 MB / 0.4933 GB, free: 40.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.335e-05/0.3298, allocations: 100.4 kB / 0.4933 GB, free: 40.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.3298, allocations: 9.875 kB / 0.4934 GB, free: 40.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.3302, allocations: 11.66 kB / 0.4934 GB, free: 40.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.3303, allocations: 21.3 kB / 0.4934 GB, free: 40.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.3303, allocations: 23.39 kB / 0.4934 GB, free: 40.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001928/0.3305, allocations: 182.2 kB / 0.4936 GB, free: 39.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3305, allocations: 1.156 kB / 0.4936 GB, free: 39.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007065/0.3312, allocations: 105.5 kB / 0.4937 GB, free: 39.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * 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 (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.0001124/0.3313, allocations: 111.9 kB / 0.4938 GB, free: 39.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005637/0.3319, allocations: 299.2 kB / 0.4941 GB, free: 39.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3319, allocations: 0 / 0.4941 GB, free: 39.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.3321, allocations: 92.09 kB / 0.4942 GB, free: 39.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3331, allocations: 63.3 kB / 0.4942 GB, free: 39.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.3356, allocations: 1.927 MB / 0.4961 GB, free: 38.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.336, allocations: 0.7983 MB / 0.4969 GB, free: 37.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002421/0.3363, allocations: 45.92 kB / 0.4969 GB, free: 37.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.3363, allocations: 27.77 kB / 0.497 GB, free: 37.7 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3363, allocations: 0 / 0.497 GB, free: 37.7 MB / 378.7 MB Notification: Performance of Templates: time 0.007007/0.3433, allocations: 2.752 MB / 0.4996 GB, free: 37.5 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches