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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001704/0.001704, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001109/0.001109, allocations: 107.1 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3732/0.3732, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 59.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3238, allocations: 62.01 MB / 0.5151 GB, free: 37.72 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003433/0.3273, allocations: 2.891 MB / 0.518 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009708/0.3283, allocations: 0.7603 MB / 0.5187 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.3285, allocations: 8.062 kB / 0.5187 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.3287, allocations: 48.41 kB / 0.5188 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.3289, allocations: 98.89 kB / 0.5189 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.3291, allocations: 89.3 kB / 0.5189 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.3294, allocations: 434 kB / 0.5194 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.3296, allocations: 151.3 kB / 0.5195 GB, free: 34.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.3298, allocations: 167.7 kB / 0.5197 GB, free: 34.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.33, allocations: 181.7 kB / 0.5198 GB, free: 34.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.33, allocations: 31.47 kB / 0.5199 GB, free: 34.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.783e-05/0.3301, allocations: 32.81 kB / 0.5199 GB, free: 34.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.3302, allocations: 67.67 kB / 0.52 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.3303, allocations: 194.6 kB / 0.5201 GB, free: 34.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.3307, allocations: 428.6 kB / 0.5206 GB, free: 34.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3307, allocations: 0 / 0.5206 GB, free: 34.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3307, allocations: 0 / 0.5206 GB, free: 34.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.3307, allocations: 0 / 0.5206 GB, free: 34.19 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.0008021/0.3315, allocations: 0.6693 MB / 0.5212 GB, free: 33.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.3316, allocations: 8.75 kB / 0.5212 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.3319, allocations: 68.33 kB / 0.5213 GB, free: 33.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.3321, allocations: 289.7 kB / 0.5216 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.3321, allocations: 30.69 kB / 0.5216 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.3322, allocations: 52.09 kB / 0.5216 GB, free: 33.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005229/0.3327, allocations: 382.4 kB / 0.522 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.3328, allocations: 3.906 kB / 0.522 GB, free: 33.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.3328, allocations: 17.69 kB / 0.522 GB, free: 33.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.3328, allocations: 8.656 kB / 0.522 GB, free: 33.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000427/0.3332, allocations: 251 kB / 0.5223 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.3345, allocations: 1.098 MB / 0.5233 GB, free: 32.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.3349, allocations: 351.2 kB / 0.5237 GB, free: 32.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.3352, allocations: 178.7 kB / 0.5238 GB, free: 32.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.3352, allocations: 6.922 kB / 0.5239 GB, free: 32.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.3352, allocations: 41.5 kB / 0.5239 GB, free: 32.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 1.744e-06/0.3352, allocations: 0 / 0.5239 GB, free: 32.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.002945/0.3382, allocations: 2.443 MB / 0.5263 GB, free: 30.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.3382, allocations: 112.3 kB / 0.5264 GB, free: 30.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.3384, allocations: 239.7 kB / 0.5266 GB, free: 29.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3384, allocations: 32.39 kB / 0.5266 GB, free: 29.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/0.3385, allocations: 182.5 kB / 0.5268 GB, free: 29.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.074e-05/0.3386, allocations: 199.6 kB / 0.527 GB, free: 29.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.512e-05/0.3387, allocations: 85.38 kB / 0.5271 GB, free: 29.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.461e-05/0.3388, allocations: 354.2 kB / 0.5274 GB, free: 29.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.339, allocations: 130.4 kB / 0.5276 GB, free: 29.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.3392, allocations: 231.2 kB / 0.5278 GB, free: 28.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004662/0.3397, allocations: 393 kB / 0.5281 GB, free: 28.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3397, allocations: 4 kB / 0.5282 GB, free: 28.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008225/0.3405, allocations: 0.5654 MB / 0.5287 GB, free: 28.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3406, allocations: 5.906 kB / 0.5287 GB, free: 28.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3406, allocations: 7 kB / 0.5287 GB, free: 28.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/0.3409, allocations: 122.3 kB / 0.5288 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.3412, allocations: 98.81 kB / 0.5289 GB, free: 28.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/0.3441, allocations: 4.672 MB / 0.5335 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.3443, allocations: 27.62 kB / 0.5335 GB, free: 23.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.3444, allocations: 19 kB / 0.5335 GB, free: 23.92 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.0001944/0.3446, allocations: 171.3 kB / 0.5337 GB, free: 23.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.3447, allocations: 45 kB / 0.5337 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.594e-05/0.3448, allocations: 43.17 kB / 0.5338 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3448, allocations: 5.844 kB / 0.5338 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/0.3448, allocations: 5.531 kB / 0.5338 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.3448, allocations: 3.188 kB / 0.5338 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.3464, allocations: 1.338 MB / 0.5351 GB, free: 22.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3464, allocations: 6.656 kB / 0.5351 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.3468, allocations: 93.77 kB / 0.5352 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002325/0.347, allocations: 97.69 kB / 0.5353 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.347, allocations: 10.75 kB / 0.5353 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.3491, allocations: 4.107 MB / 0.5393 GB, free: 18.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3491, allocations: 2.844 kB / 0.5393 GB, free: 18.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005692/0.3548, allocations: 7.225 MB / 0.5464 GB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.3549, allocations: 110.8 kB / 0.5465 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.355, allocations: 17.47 kB / 0.5465 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.3552, allocations: 17.16 kB / 0.5465 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.3554, allocations: 42.97 kB / 0.5465 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.3554, allocations: 16.41 kB / 0.5466 GB, free: 12.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.3555, allocations: 174.6 kB / 0.5467 GB, free: 12.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3555, allocations: 0 / 0.5467 GB, free: 12.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008027/0.3563, allocations: 156.7 kB / 0.5469 GB, free: 12.24 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.0001554/0.3565, allocations: 116.1 kB / 0.547 GB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.3575, allocations: 0.7712 MB / 0.5477 GB, free: 11.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3575, allocations: 0 / 0.5477 GB, free: 11.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005868/0.3581, allocations: 0.5737 MB / 0.5483 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006519/0.3588, allocations: 62.78 kB / 0.5484 GB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.3609, allocations: 1.98 MB / 0.5503 GB, free: 9.664 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.3612, allocations: 0.838 MB / 0.5511 GB, free: 8.957 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00013/0.3613, allocations: 36.05 kB / 0.5512 GB, free: 8.953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.3614, allocations: 28.03 kB / 0.5512 GB, free: 8.949 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3614, allocations: 5.062 kB / 0.5512 GB, free: 8.945 MB / 378.7 MB Notification: Performance of Templates: time 0.01056/0.372, allocations: 5.255 MB / 0.5563 GB, free: 8.594 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches