Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00104/0.00104, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 226.5 MB / 244.1 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007825/0.0007826, allocations: 102.3 kB / 296.1 MB, free: 6.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2905/0.2905, allocations: 44.81 MB / 392.9 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002544/0.0002544, allocations: 11.98 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2894, allocations: 62.95 MB / 0.5165 GB, free: 37.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.4152, allocations: 110.4 MB / 0.6243 GB, free: 10.96 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.4155, allocations: 75.97 kB / 0.6244 GB, free: 10.88 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3985/0.814, allocations: 73.53 MB / 0.6962 GB, free: 101.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.8141, allocations: 0 / 0.6962 GB, free: 101.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002011/0.8143, allocations: 66.98 kB / 0.6962 GB, free: 101.5 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01175/0.826, allocations: 3.535 MB / 0.6997 GB, free: 99.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.8261, allocations: 8.75 kB / 0.6997 GB, free: 99.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009384/0.8355, allocations: 2.056 MB / 0.7017 GB, free: 99.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006936/0.8425, allocations: 2.781 MB / 0.7044 GB, free: 99.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002932/0.8428, allocations: 264.4 kB / 0.7047 GB, free: 99.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001521/0.8443, allocations: 355.9 kB / 0.705 GB, free: 99.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01768/0.862, allocations: 8.943 MB / 0.7138 GB, free: 96.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002237/0.8623, allocations: 58.62 kB / 0.7138 GB, free: 96.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008926/0.8632, allocations: 179.9 kB / 0.714 GB, free: 96.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001385/0.8646, allocations: 0.8949 MB / 0.7149 GB, free: 96.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/0.8787, allocations: 7.195 MB / 0.7219 GB, free: 93.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03698/0.9158, allocations: 42.9 MB / 0.7638 GB, free: 60.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006493/0.9223, allocations: 3.312 MB / 0.767 GB, free: 58.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.924, allocations: 1.446 MB / 0.7684 GB, free: 58.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005842/0.9299, allocations: 4.405 MB / 0.7727 GB, free: 55.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.9299, allocations: 46.53 kB / 0.7728 GB, free: 55.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 4.208e-06/0.93, allocations: 0 / 0.7728 GB, free: 55.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=129): time 0.02362/0.9536, allocations: 11.36 MB / 0.7839 GB, free: 50.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.9537, allocations: 169.3 kB / 0.784 GB, free: 50.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004351/0.958, allocations: 3.713 MB / 0.7877 GB, free: 48.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001525/0.9582, allocations: 45.7 kB / 0.7877 GB, free: 48.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.9594, allocations: 2.758 MB / 0.7904 GB, free: 45.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003957/0.9598, allocations: 0.5189 MB / 0.7909 GB, free: 45.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.96, allocations: 108 kB / 0.791 GB, free: 45.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.9603, allocations: 0.5278 MB / 0.7915 GB, free: 44.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.9622, allocations: 1.677 MB / 0.7932 GB, free: 43.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003176/0.9654, allocations: 5.116 MB / 0.7981 GB, free: 36.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006266/0.9717, allocations: 7.412 MB / 0.8054 GB, free: 27.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.004e-05/0.9718, allocations: 36 kB / 0.8054 GB, free: 27.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.009936/0.9817, allocations: 6.669 MB / 0.8119 GB, free: 22.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.613e-05/0.9818, allocations: 60 kB / 0.812 GB, free: 21.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001008/0.982, allocations: 120 kB / 0.8121 GB, free: 21.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000547/0.9825, allocations: 322.7 kB / 0.8124 GB, free: 21.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/0.9862, allocations: 1.287 MB / 0.8137 GB, free: 20.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.9883, allocations: 2.294 MB / 0.8159 GB, free: 17.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004145/0.9925, allocations: 287.5 kB / 0.8162 GB, free: 17.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000794/0.9933, allocations: 340 kB / 0.8165 GB, free: 17.24 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (666): * Single equations (assignments): 662 * Array equations: 3 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003462/0.9968, allocations: 1.787 MB / 0.8183 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006341/0.9974, allocations: 312 kB / 0.8185 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004226/1.002, allocations: 2.359 MB / 0.8209 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/1.002, allocations: 23.62 kB / 0.8209 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/1.002, allocations: 4 kB / 0.8209 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/1.002, allocations: 7.969 kB / 0.8209 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/1.012, allocations: 5.949 MB / 0.8267 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/1.012, allocations: 4 kB / 0.8267 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007975/1.013, allocations: 167.8 kB / 0.8269 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001919/1.015, allocations: 0.7147 MB / 0.8276 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/1.015, allocations: 23.75 kB / 0.8276 GB, free: 5.836 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004631/1.02, allocations: 4.454 MB / 0.8319 GB, free: 1.246 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.02, allocations: 0 / 0.8319 GB, free: 1.246 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006986/1.027, allocations: 4.321 MB / 0.8361 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/1.028, allocations: 376.9 kB / 0.8365 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004539/1.029, allocations: 19.94 kB / 0.8365 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/1.03, allocations: 75.97 kB / 0.8366 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/1.03, allocations: 64.56 kB / 0.8367 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/1.03, allocations: 36 kB / 0.8367 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004304/1.034, allocations: 2.315 MB / 0.839 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.41e-07/1.034, allocations: 0 / 0.839 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004962/1.039, allocations: 0.8281 MB / 0.8398 GB, free: 9.184 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004436/1.04, allocations: 174.5 kB / 0.8399 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006457/1.046, allocations: 4.003 MB / 0.8438 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.046, allocations: 0 / 0.8438 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001505/1.048, allocations: 1.104 MB / 0.8449 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/1.051, allocations: 380.7 kB / 0.8453 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/1.066, allocations: 9.018 MB / 0.8541 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003155/1.069, allocations: 2.798 MB / 0.8568 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.07, allocations: 247.4 kB / 0.8571 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/1.07, allocations: 0 / 0.8571 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of Templates: time 0.3316/1.401, allocations: 63.44 MB / 0.919 GB, free: 123.2 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches