Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute.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.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000986/0.000986, allocations: 197.7 kB / 16.79 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 226.5 MB / 244.1 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007148/0.0007148, allocations: 97.73 kB / 296.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3174/0.3174, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002476/0.0002478, allocations: 12 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2889, allocations: 62.95 MB / 0.5165 GB, free: 37.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1188/0.4078, allocations: 104.7 MB / 0.6187 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.408, allocations: 79.95 kB / 0.6188 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4251/0.8331, allocations: 85.14 MB / 0.7019 GB, free: 100.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.8332, allocations: 0 / 0.7019 GB, free: 100.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001909/0.8334, allocations: 69.25 kB / 0.702 GB, free: 100.9 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.0122/0.8456, allocations: 3.646 MB / 0.7055 GB, free: 99.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.8456, allocations: 9.344 kB / 0.7055 GB, free: 99.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01419/0.8598, allocations: 3.454 MB / 0.7089 GB, free: 98.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007207/0.8671, allocations: 2.823 MB / 0.7117 GB, free: 98.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003759/0.8675, allocations: 292.2 kB / 0.7119 GB, free: 98.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002234/0.8697, allocations: 377.2 kB / 0.7123 GB, free: 98.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02048/0.8902, allocations: 10.08 MB / 0.7221 GB, free: 95.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001423/0.8904, allocations: 19.69 kB / 0.7222 GB, free: 95.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/0.8915, allocations: 181.2 kB / 0.7223 GB, free: 95.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001309/0.8928, allocations: 1.174 MB / 0.7235 GB, free: 95.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01613/0.909, allocations: 9.854 MB / 0.7331 GB, free: 92.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04365/0.9527, allocations: 34.67 MB / 0.767 GB, free: 71.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007892/0.9606, allocations: 4.97 MB / 0.7718 GB, free: 67.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002614/0.9633, allocations: 2.295 MB / 0.7741 GB, free: 65.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/0.9645, allocations: 1.877 MB / 0.7759 GB, free: 62.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.9645, allocations: 52.56 kB / 0.7759 GB, free: 62.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 5.731e-06/0.9645, allocations: 0 / 0.7759 GB, free: 62.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=235): time 0.02839/0.9929, allocations: 13.75 MB / 0.7894 GB, free: 50.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.993, allocations: 77.39 kB / 0.7894 GB, free: 49.99 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002911/0.9959, allocations: 2.627 MB / 0.792 GB, free: 47.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001734/0.9961, allocations: 61.64 kB / 0.7921 GB, free: 47.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009746/0.9971, allocations: 2.637 MB / 0.7946 GB, free: 44.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005417/0.9976, allocations: 0.849 MB / 0.7955 GB, free: 43.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.9979, allocations: 100 kB / 0.7956 GB, free: 43.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.9981, allocations: 0.5408 MB / 0.7961 GB, free: 43.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002428/1.001, allocations: 2.169 MB / 0.7982 GB, free: 40.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003368/1.004, allocations: 5.036 MB / 0.8031 GB, free: 34.53 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006682/1.011, allocations: 7.927 MB / 0.8109 GB, free: 25.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-05/1.011, allocations: 28 kB / 0.8109 GB, free: 25.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=690) (initialization): time 0.01114/1.022, allocations: 7.809 MB / 0.8185 GB, free: 17.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.822e-05/1.022, allocations: 48 kB / 0.8186 GB, free: 17.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.501e-05/1.022, allocations: 100 kB / 0.8187 GB, free: 17.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/1.024, allocations: 0.7852 MB / 0.8194 GB, free: 16.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/1.027, allocations: 1.181 MB / 0.8206 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004497/1.032, allocations: 4.135 MB / 0.8246 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/1.036, allocations: 299.7 kB / 0.8249 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00069/1.036, allocations: 298.6 kB / 0.8252 GB, free: 10.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 29 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (630): * Single equations (assignments): 623 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003544/1.04, allocations: 2.018 MB / 0.8272 GB, free: 8.359 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004253/1.04, allocations: 264.6 kB / 0.8274 GB, free: 8.098 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006744/1.047, allocations: 4.699 MB / 0.832 GB, free: 3.371 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.422e-05/1.047, allocations: 44 kB / 0.832 GB, free: 3.328 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/1.047, allocations: 7.938 kB / 0.8321 GB, free: 3.324 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/1.047, allocations: 11.95 kB / 0.8321 GB, free: 3.312 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01818/1.065, allocations: 10.55 MB / 0.8424 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/1.065, allocations: 4 kB / 0.8424 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/1.067, allocations: 368.3 kB / 0.8427 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001998/1.069, allocations: 0.6522 MB / 0.8434 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003063/1.069, allocations: 40 kB / 0.8434 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004941/1.074, allocations: 3.596 MB / 0.8469 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/1.074, allocations: 11.94 kB / 0.8469 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/1.086, allocations: 7.089 MB / 0.8538 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009024/1.087, allocations: 317.6 kB / 0.8542 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006139/1.087, allocations: 40 kB / 0.8542 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/1.089, allocations: 139.5 kB / 0.8543 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004061/1.089, allocations: 137 kB / 0.8545 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001856/1.089, allocations: 67.84 kB / 0.8545 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002962/1.092, allocations: 1.603 MB / 0.8561 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/1.092, allocations: 0 / 0.8561 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005053/1.097, allocations: 0.9449 MB / 0.857 GB, free: 9.398 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007241/1.098, allocations: 194.7 kB / 0.8572 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009216/1.107, allocations: 5.306 MB / 0.8624 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/1.107, allocations: 0 / 0.8624 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003563/1.111, allocations: 2.008 MB / 0.8643 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004763/1.116, allocations: 340.6 kB / 0.8647 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02359/1.139, allocations: 11.58 MB / 0.876 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006942/1.146, allocations: 3.167 MB / 0.8791 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/1.148, allocations: 251.4 kB / 0.8793 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of SimCode: time 1.353e-06/1.148, allocations: 3.938 kB / 0.8793 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of Templates: time 0.3416/1.489, allocations: 69.5 MB / 0.9472 GB, free: 117.6 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches