Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 174.5 kB / 16.08 MB, free: 5.723 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.684/1.684, allocations: 205.6 MB / 222.4 MB, free: 8.941 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.0007399/0.0007399, allocations: 99.02 kB / 270.8 MB, free: 8.129 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.3665/0.3665, allocations: 43.66 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003904, allocations: 8 kB / 432.3 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1422, allocations: 58.85 MB / 491.2 MB, free: 9.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002985/0.1452, allocations: 2.419 MB / 493.6 MB, free: 7.387 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1464, allocations: 0.7217 MB / 494.3 MB, free: 6.656 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.1466, allocations: 7.938 kB / 494.3 MB, free: 6.648 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.1467, allocations: 51.62 kB / 494.4 MB, free: 6.598 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.147, allocations: 103.2 kB / 494.5 MB, free: 6.496 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.1472, allocations: 75.92 kB / 494.5 MB, free: 6.422 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.1477, allocations: 426.4 kB / 494.9 MB, free: 6.004 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003069/0.148, allocations: 167 kB / 495.1 MB, free: 5.836 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.1482, allocations: 143.4 kB / 495.2 MB, free: 5.695 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.1485, allocations: 171.1 kB / 495.4 MB, free: 5.527 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.1485, allocations: 20 kB / 495.4 MB, free: 5.508 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.174e-05/0.1486, allocations: 20 kB / 495.5 MB, free: 5.488 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.376e-05/0.1487, allocations: 63.7 kB / 495.5 MB, free: 5.426 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.1489, allocations: 208.7 kB / 495.7 MB, free: 5.215 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.1493, allocations: 414.6 kB / 496.1 MB, free: 4.809 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1493, allocations: 0 / 496.1 MB, free: 4.809 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1493, allocations: 0 / 496.1 MB, free: 4.809 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1493, allocations: 0 / 496.1 MB, free: 4.809 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001032/0.1504, allocations: 0.6084 MB / 496.7 MB, free: 4.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.1504, allocations: 8.031 kB / 496.7 MB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.1505, allocations: 40.47 kB / 496.8 MB, free: 4.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.1508, allocations: 292.4 kB / 497.1 MB, free: 3.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.1509, allocations: 33.36 kB / 497.1 MB, free: 3.746 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/0.151, allocations: 40.38 kB / 497.1 MB, free: 3.707 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006651/0.1516, allocations: 389.3 kB / 497.5 MB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.1517, allocations: 3.906 kB / 497.5 MB, free: 3.305 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.1517, allocations: 16 kB / 497.5 MB, free: 3.289 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.1517, allocations: 8 kB / 497.5 MB, free: 3.281 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005344/0.1523, allocations: 267.8 kB / 497.8 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.1539, allocations: 1.113 MB / 498.9 MB, free: 1.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005574/0.1545, allocations: 363.4 kB / 499.3 MB, free: 1.465 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.1548, allocations: 174.5 kB / 499.4 MB, free: 1.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.1548, allocations: 11.92 kB / 499.5 MB, free: 1.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1549, allocations: 38.5 kB / 499.5 MB, free: 1.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 1.433e-06/0.1549, allocations: 0 / 499.5 MB, free: 1.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.2243/0.3792, allocations: 2.466 MB / 0.4902 GB, free: 42.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.3793, allocations: 109.5 kB / 0.4903 GB, free: 42.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.3795, allocations: 234.9 kB / 0.4905 GB, free: 42.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.3796, allocations: 36.86 kB / 0.4906 GB, free: 41.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/0.3797, allocations: 188 kB / 0.4907 GB, free: 41.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.3798, allocations: 201.1 kB / 0.4909 GB, free: 41.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.3798, allocations: 9.688 kB / 0.4909 GB, free: 41.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.547e-05/0.3799, allocations: 347.6 kB / 0.4913 GB, free: 41.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.3802, allocations: 133.6 kB / 0.4914 GB, free: 41.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.3805, allocations: 236.3 kB / 0.4916 GB, free: 41.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006267/0.3811, allocations: 405 kB / 0.492 GB, free: 41.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3811, allocations: 1.188 kB / 0.492 GB, free: 41.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009955/0.3821, allocations: 0.5643 MB / 0.4926 GB, free: 41.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3821, allocations: 5.406 kB / 0.4926 GB, free: 41.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3822, allocations: 3.281 kB / 0.4926 GB, free: 41.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003547/0.3825, allocations: 131.3 kB / 0.4927 GB, free: 41.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.3829, allocations: 100.4 kB / 0.4928 GB, free: 41.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.3858, allocations: 4.68 MB / 0.4974 GB, free: 37.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.386, allocations: 22.55 kB / 0.4974 GB, free: 37.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.3861, allocations: 21.94 kB / 0.4974 GB, free: 37.09 MB / 378.7 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.000175/0.3863, allocations: 167.3 kB / 0.4976 GB, free: 36.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.732e-05/0.3864, allocations: 48.36 kB / 0.4976 GB, free: 36.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.095e-05/0.3864, allocations: 52.95 kB / 0.4977 GB, free: 36.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3864, allocations: 6.031 kB / 0.4977 GB, free: 36.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.3865, allocations: 4.062 kB / 0.4977 GB, free: 36.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.3865, allocations: 4.281 kB / 0.4977 GB, free: 36.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.3883, allocations: 1.343 MB / 0.499 GB, free: 36.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-06/0.3883, allocations: 1.375 kB / 0.499 GB, free: 36.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.3887, allocations: 103.6 kB / 0.4991 GB, free: 36.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/0.389, allocations: 92.58 kB / 0.4992 GB, free: 36.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.389, allocations: 12.53 kB / 0.4992 GB, free: 36.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.3912, allocations: 4.113 MB / 0.5032 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.3912, allocations: 6.344 kB / 0.5032 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.3925, allocations: 0.933 MB / 0.5041 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.3926, allocations: 113.3 kB / 0.5042 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.3926, allocations: 14.5 kB / 0.5042 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.3929, allocations: 15.22 kB / 0.5043 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.393, allocations: 48.31 kB / 0.5043 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.393, allocations: 20.19 kB / 0.5043 GB, free: 31.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001312/0.3931, allocations: 173 kB / 0.5045 GB, free: 31.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3932, allocations: 0 / 0.5045 GB, free: 31.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006146/0.3938, allocations: 121.6 kB / 0.5046 GB, free: 31.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * 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,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001137/0.3939, allocations: 118.7 kB / 0.5047 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.3949, allocations: 0.7748 MB / 0.5055 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.395, allocations: 0 / 0.5055 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006113/0.3956, allocations: 0.5794 MB / 0.506 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006288/0.3962, allocations: 62.23 kB / 0.5061 GB, free: 30.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.3977, allocations: 1.338 MB / 0.5074 GB, free: 29.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.3979, allocations: 0.8191 MB / 0.5082 GB, free: 29.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.398, allocations: 36.5 kB / 0.5082 GB, free: 29.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/0.3981, allocations: 29.77 kB / 0.5083 GB, free: 29.11 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3981, allocations: 0 / 0.5083 GB, free: 29.11 MB / 378.7 MB Notification: Performance of Templates: time 0.007091/0.4052, allocations: 4.16 MB / 0.5123 GB, free: 28.84 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches