Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 113.3 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 181.1 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 243.1 MB, free: 15.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1963/0.1963, allocations: 44.18 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3144, allocations: 60.82 MB / 0.5195 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003413/0.3178, allocations: 2.84 MB / 0.5223 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.319, allocations: 0.7079 MB / 0.523 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.3192, allocations: 11.84 kB / 0.523 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.3194, allocations: 60.8 kB / 0.5231 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.3196, allocations: 123 kB / 0.5232 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.3199, allocations: 94.03 kB / 0.5233 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.3204, allocations: 445 kB / 0.5237 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.3206, allocations: 192.5 kB / 0.5239 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.3209, allocations: 171.2 kB / 0.5241 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.3211, allocations: 194.7 kB / 0.5242 GB, free: 420 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.506e-05/0.3212, allocations: 39.97 kB / 0.5243 GB, free: 416 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.712e-05/0.3213, allocations: 35.44 kB / 0.5243 GB, free: 416 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.433e-05/0.3213, allocations: 83.69 kB / 0.5244 GB, free: 356 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.3215, allocations: 199.5 kB / 0.5246 GB, free: 236 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004568/0.322, allocations: 448.6 kB / 0.525 GB, free: 56 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.322, allocations: 5.719 kB / 0.525 GB, free: 52 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.322, allocations: 4.5 kB / 0.525 GB, free: 48 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.322, allocations: 0 / 0.525 GB, free: 48 kB / 382.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.0009452/0.3229, allocations: 0.6606 MB / 0.5257 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.323, allocations: 9.047 kB / 0.5257 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.042e-05/0.3231, allocations: 42.47 kB / 0.5257 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.3235, allocations: 297.8 kB / 0.526 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.3235, allocations: 29.69 kB / 0.526 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.235e-05/0.3236, allocations: 42.5 kB / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006998/0.3243, allocations: 387.2 kB / 0.5264 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.3243, allocations: 6.766 kB / 0.5264 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.3244, allocations: 15.34 kB / 0.5265 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.3244, allocations: 9.891 kB / 0.5265 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004952/0.3249, allocations: 248.3 kB / 0.5267 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.3264, allocations: 1.095 MB / 0.5278 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.327, allocations: 352.7 kB / 0.5281 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.3272, allocations: 174.4 kB / 0.5283 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.3273, allocations: 8.125 kB / 0.5283 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.3273, allocations: 45.61 kB / 0.5283 GB, free: 13.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.174e-06/0.3273, allocations: 3.938 kB / 0.5283 GB, free: 13.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003592/0.3309, allocations: 2.439 MB / 0.5307 GB, free: 11.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.331, allocations: 108.8 kB / 0.5308 GB, free: 11.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.3312, allocations: 241.1 kB / 0.5311 GB, free: 11.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.3313, allocations: 36.17 kB / 0.5311 GB, free: 11.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.3314, allocations: 189.5 kB / 0.5313 GB, free: 11.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.3315, allocations: 195 kB / 0.5315 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.3317, allocations: 87.69 kB / 0.5315 GB, free: 11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3318, allocations: 350.3 kB / 0.5319 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.3321, allocations: 127.7 kB / 0.532 GB, free: 10.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.3324, allocations: 234.5 kB / 0.5322 GB, free: 10.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005855/0.333, allocations: 397.4 kB / 0.5326 GB, free: 10.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.333, allocations: 0 / 0.5326 GB, free: 10.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009585/0.3339, allocations: 0.5562 MB / 0.5331 GB, free: 9.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.334, allocations: 9.219 kB / 0.5331 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.334, allocations: 3.094 kB / 0.5332 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003467/0.3343, allocations: 133.5 kB / 0.5333 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.3347, allocations: 97 kB / 0.5334 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003841/0.3386, allocations: 5.208 MB / 0.5385 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.3388, allocations: 17.31 kB / 0.5385 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.3389, allocations: 25.53 kB / 0.5385 GB, free: 4.613 MB / 398.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.0002021/0.3391, allocations: 169.6 kB / 0.5387 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.513e-05/0.3392, allocations: 38.47 kB / 0.5387 GB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.187e-05/0.3393, allocations: 44.77 kB / 0.5387 GB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.3393, allocations: 5.562 kB / 0.5387 GB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/0.3393, allocations: 7.906 kB / 0.5388 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3393, allocations: 3.984 kB / 0.5388 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.3412, allocations: 1.328 MB / 0.5401 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3412, allocations: 1.5 kB / 0.5401 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.3416, allocations: 94.59 kB / 0.5401 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/0.3419, allocations: 95.89 kB / 0.5402 GB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.342, allocations: 19.88 kB / 0.5403 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003065/0.345, allocations: 4.422 MB / 0.5446 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.345, allocations: 10.53 kB / 0.5446 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.3463, allocations: 0.9117 MB / 0.5455 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.3465, allocations: 119.5 kB / 0.5456 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/0.3465, allocations: 12.28 kB / 0.5456 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.3468, allocations: 10.38 kB / 0.5456 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.69e-05/0.3469, allocations: 52.41 kB / 0.5457 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.3469, allocations: 18.52 kB / 0.5457 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.3471, allocations: 170.5 kB / 0.5458 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3471, allocations: 0 / 0.5458 GB, free: 13.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008429/0.3479, allocations: 122.3 kB / 0.546 GB, free: 13.84 MB / 414.1 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.0002101/0.3482, allocations: 106.1 kB / 0.5461 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.3498, allocations: 0.7738 MB / 0.5468 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3499, allocations: 5.125 kB / 0.5468 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009643/0.3508, allocations: 0.5797 MB / 0.5474 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009942/0.3518, allocations: 54.17 kB / 0.5474 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.3548, allocations: 1.108 MB / 0.5485 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005831/0.3554, allocations: 0.8198 MB / 0.5493 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.3555, allocations: 30.22 kB / 0.5493 GB, free: 11.13 MB / 414.1 MB Notification: Performance of SimCode: time 2.475e-06/0.3555, allocations: 0 / 0.5493 GB, free: 11.13 MB / 414.1 MB Notification: Performance of Templates: time 0.01694/0.3725, allocations: 9.342 MB / 0.5585 GB, free: 2.414 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches