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.00127/0.001269, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.224/1.224, allocations: 227.2 MB / 245 MB, free: 5.746 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008849/0.0008849, allocations: 103.6 kB / 297.3 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2957/0.2957, allocations: 45.23 MB / 394.7 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002676/0.0002676, allocations: 8 kB / 468.4 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2929, allocations: 63.24 MB / 0.5192 GB, free: 37.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1032/0.3961, allocations: 86.88 MB / 0.604 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.3964, allocations: 67.97 kB / 0.6041 GB, free: 496 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005231/0.4016, allocations: 2.07 MB / 0.6061 GB, free: 14.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.759e-06/0.4016, allocations: 0 / 0.6061 GB, free: 14.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.4017, allocations: 7.875 kB / 0.6061 GB, free: 14.41 MB / 426.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.0004046/0.4021, allocations: 383.3 kB / 0.6065 GB, free: 13.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.4021, allocations: 8.031 kB / 0.6065 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.4022, allocations: 15.81 kB / 0.6065 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.4023, allocations: 178.9 kB / 0.6067 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.4023, allocations: 12.23 kB / 0.6067 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.4024, allocations: 15.91 kB / 0.6067 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.4026, allocations: 125 kB / 0.6068 GB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.4026, allocations: 4 kB / 0.6068 GB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.4026, allocations: 4 kB / 0.6068 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4026, allocations: 4 kB / 0.6068 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.4028, allocations: 67.89 kB / 0.6069 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006955/0.4035, allocations: 0.5333 MB / 0.6074 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.4036, allocations: 89.16 kB / 0.6075 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.4036, allocations: 0 / 0.6075 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.4037, allocations: 38.56 kB / 0.6075 GB, free: 12.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 2.314e-06/0.4037, allocations: 0 / 0.6075 GB, free: 12.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005545/0.4042, allocations: 301.4 kB / 0.6078 GB, free: 12.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.4043, allocations: 81.06 kB / 0.6079 GB, free: 12.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.945e-05/0.4044, allocations: 112.9 kB / 0.608 GB, free: 12.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.4044, allocations: 29.7 kB / 0.608 GB, free: 12.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.4045, allocations: 127.7 kB / 0.6082 GB, free: 12.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.4045, allocations: 27.56 kB / 0.6082 GB, free: 12.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.4045, allocations: 0 / 0.6082 GB, free: 12.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.4046, allocations: 324 kB / 0.6085 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.07e-05/0.4047, allocations: 23.98 kB / 0.6085 GB, free: 11.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.098e-05/0.4048, allocations: 90.62 kB / 0.6086 GB, free: 11.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.545e-05/0.4048, allocations: 28 kB / 0.6086 GB, free: 11.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.4048, allocations: 4 kB / 0.6086 GB, free: 11.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002686/0.4051, allocations: 171.5 kB / 0.6088 GB, free: 11.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4051, allocations: 10.77 kB / 0.6088 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.4051, allocations: 4 kB / 0.6088 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001593/0.4053, allocations: 41.88 kB / 0.6089 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.4054, allocations: 31.92 kB / 0.6089 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.4071, allocations: 2.54 MB / 0.6114 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.772e-05/0.4071, allocations: 11.91 kB / 0.6114 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.4072, allocations: 8.25 kB / 0.6114 GB, free: 8.422 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.4073, allocations: 129.7 kB / 0.6115 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.4073, allocations: 11.86 kB / 0.6115 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.4074, allocations: 15.89 kB / 0.6115 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4074, allocations: 0 / 0.6115 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4074, allocations: 3.938 kB / 0.6115 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4074, allocations: 4 kB / 0.6115 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.4076, allocations: 189.6 kB / 0.6117 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.4076, allocations: 7.938 kB / 0.6117 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.262e-05/0.4077, allocations: 19.98 kB / 0.6118 GB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.156e-05/0.4078, allocations: 37.66 kB / 0.6118 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.4079, allocations: 0 / 0.6118 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.4095, allocations: 2.553 MB / 0.6143 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4095, allocations: 0 / 0.6143 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.4098, allocations: 318 kB / 0.6146 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.4099, allocations: 97.17 kB / 0.6147 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.4099, allocations: 4 kB / 0.6147 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.41, allocations: 0 / 0.6147 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.41, allocations: 11.98 kB / 0.6147 GB, free: 4.652 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.41, allocations: 7.953 kB / 0.6147 GB, free: 4.645 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.455e-05/0.4101, allocations: 87.72 kB / 0.6148 GB, free: 4.559 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4101, allocations: 0 / 0.6148 GB, free: 4.559 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000318/0.4104, allocations: 39.89 kB / 0.6148 GB, free: 4.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001345/0.4105, allocations: 99.25 kB / 0.6149 GB, free: 4.414 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003857/0.4109, allocations: 297.4 kB / 0.6152 GB, free: 4.098 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4109, allocations: 0 / 0.6152 GB, free: 4.098 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.4112, allocations: 265.9 kB / 0.6155 GB, free: 3.812 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.4115, allocations: 20.31 kB / 0.6155 GB, free: 3.793 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007857/0.4123, allocations: 0.5609 MB / 0.616 GB, free: 3.203 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.4126, allocations: 0.7161 MB / 0.6167 GB, free: 2.461 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.715e-05/0.4126, allocations: 4.891 kB / 0.6167 GB, free: 2.453 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.4127, allocations: 11.44 kB / 0.6167 GB, free: 2.441 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4127, allocations: 0 / 0.6167 GB, free: 2.441 MB / 426.7 MB Notification: Performance of Templates: time 0.003489/0.4162, allocations: 1.398 MB / 0.6181 GB, free: 1.051 MB / 426.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/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