Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009799/0.0009799, allocations: 189.4 kB / 16.78 MB, free: 4.922 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 226.5 MB / 244.1 MB, free: 8.242 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007687/0.0007685, allocations: 102.5 kB / 296.1 MB, free: 6.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3074/0.3074, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002675/0.0002677, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3123, allocations: 62.95 MB / 0.5165 GB, free: 36.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.4769, allocations: 110 MB / 0.6239 GB, free: 11.35 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.4772, allocations: 79.95 kB / 0.624 GB, free: 11.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5024/0.9797, allocations: 105.3 MB / 0.7268 GB, free: 97.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.9798, allocations: 0 / 0.7268 GB, free: 97.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004052/0.9802, allocations: 104.1 kB / 0.7269 GB, free: 97.88 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02069/1.001, allocations: 5.508 MB / 0.7323 GB, free: 95.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/1.001, allocations: 8.25 kB / 0.7323 GB, free: 95.13 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02114/1.022, allocations: 5.206 MB / 0.7374 GB, free: 94.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/1.036, allocations: 5.667 MB / 0.7429 GB, free: 92.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000384/1.036, allocations: 376.5 kB / 0.7433 GB, free: 91.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002414/1.039, allocations: 0.4957 MB / 0.7438 GB, free: 91.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02791/1.067, allocations: 12.23 MB / 0.7557 GB, free: 83.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005395/1.067, allocations: 71.59 kB / 0.7558 GB, free: 83.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002295/1.07, allocations: 243.4 kB / 0.756 GB, free: 83.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001638/1.071, allocations: 1.148 MB / 0.7571 GB, free: 83.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01992/1.091, allocations: 10.12 MB / 0.767 GB, free: 74.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06015/1.151, allocations: 55.59 MB / 0.8213 GB, free: 17.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/1.164, allocations: 5.633 MB / 0.8268 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003276/1.168, allocations: 2.849 MB / 0.8296 GB, free: 8.965 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01345/1.181, allocations: 8.721 MB / 0.8381 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/1.181, allocations: 55.88 kB / 0.8382 GB, free: 16 kB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 5.16e-06/1.181, allocations: 0 / 0.8382 GB, free: 16 kB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.1227/1.304, allocations: 35.2 MB / 0.8725 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/1.304, allocations: 213.9 kB / 0.8727 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01011/1.314, allocations: 4.715 MB / 0.8773 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007062/1.315, allocations: 69.7 kB / 0.8774 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00366/1.319, allocations: 3.582 MB / 0.8809 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001585/1.32, allocations: 0.9831 MB / 0.8819 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/1.322, allocations: 132 kB / 0.882 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0009767/1.323, allocations: 0.5872 MB / 0.8826 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2683/1.591, allocations: 2.999 MB / 0.8855 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007245/1.598, allocations: 6.846 MB / 0.8922 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01145/1.61, allocations: 10.68 MB / 0.9026 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001483/1.61, allocations: 38.22 kB / 0.9026 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02776/1.638, allocations: 13.07 MB / 0.9154 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/1.638, allocations: 61.75 kB / 0.9155 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002478/1.638, allocations: 134.2 kB / 0.9156 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01305/1.651, allocations: 4.063 MB / 0.9196 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006615/1.658, allocations: 1.426 MB / 0.921 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03568/1.694, allocations: 25.88 MB / 0.9462 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006365/1.7, allocations: 400 kB / 0.9466 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001651/1.702, allocations: 408 kB / 0.947 GB, free: 106.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (763): * Single equations (assignments): 757 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.006686/1.708, allocations: 2.462 MB / 0.9494 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/1.71, allocations: 445.4 kB / 0.9498 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01754/1.727, allocations: 8.114 MB / 0.9577 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.184e-05/1.727, allocations: 28.34 kB / 0.9578 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-05/1.727, allocations: 24.36 kB / 0.9578 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.054e-05/1.728, allocations: 11.34 kB / 0.9578 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0355/1.763, allocations: 16.69 MB / 0.9741 GB, free: 96.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.534e-05/1.763, allocations: 5.188 kB / 0.9741 GB, free: 96.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/1.765, allocations: 305.8 kB / 0.9744 GB, free: 96.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01006/1.775, allocations: 3.766 MB / 0.9781 GB, free: 94.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006581/1.775, allocations: 52.94 kB / 0.9781 GB, free: 94.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02954/1.805, allocations: 24.63 MB / 1.002 GB, free: 72.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.805, allocations: 4 kB / 1.002 GB, free: 72.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02009/1.825, allocations: 11.97 MB / 1.014 GB, free: 61.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/1.827, allocations: 495.7 kB / 1.014 GB, free: 60.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00154/1.828, allocations: 51.98 kB / 1.014 GB, free: 60.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/1.832, allocations: 164.7 kB / 1.015 GB, free: 60.42 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009791/1.833, allocations: 201.9 kB / 1.015 GB, free: 60.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000376/1.833, allocations: 68.55 kB / 1.015 GB, free: 60.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006368/1.839, allocations: 2.973 MB / 1.018 GB, free: 57.19 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/1.839, allocations: 2.516 kB / 1.018 GB, free: 57.19 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008965/1.848, allocations: 1.429 MB / 1.019 GB, free: 55.77 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (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 (161): * Single equations (assignments): 155 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009039/1.849, allocations: 203.7 kB / 1.019 GB, free: 55.58 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01334/1.863, allocations: 8.135 MB / 1.027 GB, free: 47.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.863, allocations: 0 / 1.027 GB, free: 47.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005476/1.868, allocations: 3.482 MB / 1.031 GB, free: 43.92 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008176/1.876, allocations: 0.587 MB / 1.031 GB, free: 43.35 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0279/1.904, allocations: 14.97 MB / 1.046 GB, free: 28.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006916/1.911, allocations: 3.925 MB / 1.05 GB, free: 24.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/1.913, allocations: 327.4 kB / 1.05 GB, free: 24.07 MB / 0.5261 GB Notification: Performance of SimCode: time 8.52e-07/1.913, allocations: 4 kB / 1.05 GB, free: 24.06 MB / 0.5261 GB Notification: Performance of Templates: time 0.4871/2.4, allocations: 141.6 MB / 1.188 GB, free: 81.99 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches