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/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.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/Complex trunk/package.mo): time 0.001913/0.001913, 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.37/1.37, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 111.3 kB / 296.7 MB, free: 6.438 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3341/0.3341, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001138, allocations: 60.14 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4059, allocations: 62.02 MB / 0.5151 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003116/0.409, allocations: 1.725 MB / 0.5168 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003396/0.4094, allocations: 104.7 kB / 0.5169 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.4095, allocations: 2.938 kB / 0.5169 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.216e-05/0.4096, allocations: 14.3 kB / 0.5169 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.4098, allocations: 29.05 kB / 0.517 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.4099, allocations: 22.11 kB / 0.517 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.4101, allocations: 127 kB / 0.5171 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.4102, allocations: 27.06 kB / 0.5171 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.257e-05/0.4103, allocations: 43.16 kB / 0.5172 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.4104, allocations: 53.59 kB / 0.5172 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.4104, allocations: 5.781 kB / 0.5172 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.462e-05/0.4105, allocations: 6.156 kB / 0.5172 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.4105, allocations: 18.06 kB / 0.5173 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.113e-05/0.4106, allocations: 58.58 kB / 0.5173 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.4107, allocations: 114.5 kB / 0.5174 GB, free: 36.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.4107, allocations: 2.656 kB / 0.5174 GB, free: 36.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.4108, allocations: 0 / 0.5174 GB, free: 36.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.4108, allocations: 0 / 0.5174 GB, free: 36.21 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004969/0.4113, allocations: 409.5 kB / 0.5178 GB, free: 35.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4113, allocations: 7.781 kB / 0.5178 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.4114, allocations: 10.59 kB / 0.5178 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.4115, allocations: 199.2 kB / 0.518 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.4116, allocations: 7.391 kB / 0.518 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.4116, allocations: 16.48 kB / 0.5181 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.4118, allocations: 129.2 kB / 0.5182 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.4118, allocations: 8.094 kB / 0.5182 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.4119, allocations: 11.88 kB / 0.5182 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.4119, allocations: 2.969 kB / 0.5182 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.412, allocations: 59.64 kB / 0.5183 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006768/0.4127, allocations: 0.543 MB / 0.5188 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.4128, allocations: 87.73 kB / 0.5189 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.4129, allocations: 28.64 kB / 0.5189 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.4129, allocations: 7.938 kB / 0.5189 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.4129, allocations: 37.5 kB / 0.5189 GB, free: 34.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.4129, allocations: 0 / 0.5189 GB, free: 34.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005529/0.4135, allocations: 300.7 kB / 0.5192 GB, free: 34.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.4135, allocations: 83.98 kB / 0.5193 GB, free: 34.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.4136, allocations: 122.7 kB / 0.5194 GB, free: 34.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.4136, allocations: 29.7 kB / 0.5194 GB, free: 34.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.4137, allocations: 112.9 kB / 0.5196 GB, free: 34.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.4137, allocations: 32.52 kB / 0.5196 GB, free: 34.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.4138, allocations: 34.09 kB / 0.5196 GB, free: 34.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.216e-05/0.4138, allocations: 321.9 kB / 0.5199 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.477e-05/0.4138, allocations: 22 kB / 0.5199 GB, free: 33.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.045e-05/0.4139, allocations: 92.59 kB / 0.52 GB, free: 33.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.97e-05/0.414, allocations: 121.9 kB / 0.5202 GB, free: 33.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.414, allocations: 3.938 kB / 0.5202 GB, free: 33.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002168/0.4143, allocations: 171.4 kB / 0.5203 GB, free: 33.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4143, allocations: 6 kB / 0.5203 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4143, allocations: 0 / 0.5203 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/0.4145, allocations: 41.91 kB / 0.5204 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.4146, allocations: 21.38 kB / 0.5204 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.4159, allocations: 2.545 MB / 0.5229 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.709e-05/0.4159, allocations: 13.34 kB / 0.5229 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.4159, allocations: 5.438 kB / 0.5229 GB, free: 30.89 MB / 378.7 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 9.387e-05/0.416, allocations: 128.3 kB / 0.523 GB, free: 30.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.4161, allocations: 9.188 kB / 0.523 GB, free: 30.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.4161, allocations: 10.38 kB / 0.523 GB, free: 30.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4161, allocations: 0 / 0.523 GB, free: 30.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4161, allocations: 2.719 kB / 0.523 GB, free: 30.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4161, allocations: 0 / 0.523 GB, free: 30.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.4164, allocations: 213.5 kB / 0.5232 GB, free: 30.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4164, allocations: 4 kB / 0.5232 GB, free: 30.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.376e-05/0.4165, allocations: 11.66 kB / 0.5233 GB, free: 30.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-05/0.4166, allocations: 39.3 kB / 0.5233 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.4166, allocations: 4 kB / 0.5233 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.4177, allocations: 2.539 MB / 0.5258 GB, free: 27.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4177, allocations: 4.188 kB / 0.5258 GB, free: 27.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.4199, allocations: 4.058 MB / 0.5297 GB, free: 23.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.4199, allocations: 83.95 kB / 0.5298 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.4199, allocations: 7.281 kB / 0.5298 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.42, allocations: 0 / 0.5298 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.4201, allocations: 9.109 kB / 0.5298 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.4201, allocations: 6.719 kB / 0.5298 GB, free: 23.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.773e-05/0.4201, allocations: 93.66 kB / 0.5299 GB, free: 23.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.4201, allocations: 4.094 kB / 0.5299 GB, free: 23.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004108/0.4205, allocations: 56.22 kB / 0.53 GB, free: 23.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 9.827e-05/0.4206, allocations: 100.2 kB / 0.5301 GB, free: 23.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003486/0.421, allocations: 295.3 kB / 0.5304 GB, free: 23.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.421, allocations: 4.125 kB / 0.5304 GB, free: 23.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.4212, allocations: 259.2 kB / 0.5306 GB, free: 23.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.4216, allocations: 34.81 kB / 0.5307 GB, free: 23.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008748/0.4225, allocations: 0.8754 MB / 0.5315 GB, free: 22.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.4227, allocations: 0.706 MB / 0.5322 GB, free: 21.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.545e-05/0.4227, allocations: 7.094 kB / 0.5322 GB, free: 21.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.4227, allocations: 12.81 kB / 0.5322 GB, free: 21.6 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4227, allocations: 0 / 0.5322 GB, free: 21.6 MB / 378.7 MB Notification: Performance of Templates: time 0.003746/0.4265, allocations: 1.907 MB / 0.5341 GB, free: 21.44 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches