Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 202.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 227.2 MB / 245 MB, free: 7.578 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009868/0.0009867, allocations: 99.53 kB / 297.3 MB, free: 6.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2938/0.2938, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002474/0.0002475, allocations: 4 kB / 468.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2854, allocations: 63.24 MB / 0.5192 GB, free: 43.84 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1156/0.4011, allocations: 112.2 MB / 0.6288 GB, free: 9.332 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.4013, allocations: 75.95 kB / 0.6289 GB, free: 9.258 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5227/0.924, allocations: 130.8 MB / 0.7566 GB, free: 94.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.094e-06/0.924, allocations: 3.938 kB / 0.7566 GB, free: 94.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002249/0.9243, allocations: 114.4 kB / 0.7567 GB, free: 94.59 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01626/0.9405, allocations: 6.793 MB / 0.7633 GB, free: 91.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.9406, allocations: 11.78 kB / 0.7633 GB, free: 91.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02787/0.9685, allocations: 8.305 MB / 0.7714 GB, free: 90.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01632/0.9848, allocations: 6.459 MB / 0.7778 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003426/0.9852, allocations: 448 kB / 0.7782 GB, free: 87.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002491/0.9877, allocations: 0.5892 MB / 0.7788 GB, free: 87.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02741/1.015, allocations: 15.73 MB / 0.7941 GB, free: 77.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000248/1.015, allocations: 72.84 kB / 0.7942 GB, free: 77.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001511/1.017, allocations: 288.3 kB / 0.7945 GB, free: 77.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001779/1.019, allocations: 1.625 MB / 0.796 GB, free: 76.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0232/1.042, allocations: 14 MB / 0.8097 GB, free: 62.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06779/1.11, allocations: 64.05 MB / 0.8723 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/1.123, allocations: 6.455 MB / 0.8786 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02391/1.147, allocations: 14.41 MB / 0.8926 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/1.147, allocations: 64.56 kB / 0.8927 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=289): time 6.061e-06/1.147, allocations: 0 / 0.8927 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of matching and sorting (n=339): time 0.3837/1.531, allocations: 42.24 MB / 0.934 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.02e-05/1.531, allocations: 213.1 kB / 0.9342 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007964/1.539, allocations: 4.811 MB / 0.9389 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007664/1.54, allocations: 71.56 kB / 0.9389 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002602/1.542, allocations: 4.431 MB / 0.9433 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001816/1.544, allocations: 1.25 MB / 0.9445 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005386/1.545, allocations: 176.6 kB / 0.9446 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004766/1.545, allocations: 0.6885 MB / 0.9453 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005699/1.551, allocations: 4.564 MB / 0.9498 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007029/1.558, allocations: 9.52 MB / 0.9591 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007242/1.565, allocations: 6.448 MB / 0.9654 GB, free: 99.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.906e-05/1.565, allocations: 46.78 kB / 0.9654 GB, free: 99.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.034/1.599, allocations: 18.72 MB / 0.9837 GB, free: 92.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-05/1.6, allocations: 78.81 kB / 0.9838 GB, free: 92.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001487/1.6, allocations: 178.5 kB / 0.9839 GB, free: 92.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01868/1.618, allocations: 5.643 MB / 0.9894 GB, free: 92.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006643/1.625, allocations: 2.058 MB / 0.9915 GB, free: 91.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02427/1.649, allocations: 24.3 MB / 1.015 GB, free: 74.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008364/1.658, allocations: 0.5437 MB / 1.016 GB, free: 73.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001992/1.66, allocations: 0.5032 MB / 1.016 GB, free: 73.28 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 793 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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 (1061): * Single equations (assignments): 1053 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00577/1.666, allocations: 3.103 MB / 1.019 GB, free: 70.58 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/1.667, allocations: 0.4974 MB / 1.02 GB, free: 70.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02493/1.692, allocations: 12.42 MB / 1.032 GB, free: 58.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.907e-05/1.692, allocations: 52 kB / 1.032 GB, free: 58 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.858e-05/1.692, allocations: 12 kB / 1.032 GB, free: 57.99 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.85e-05/1.692, allocations: 18.23 kB / 1.032 GB, free: 57.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04238/1.734, allocations: 24.04 MB / 1.055 GB, free: 33.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.235e-05/1.734, allocations: 4 kB / 1.055 GB, free: 33.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00294/1.737, allocations: 0.5769 MB / 1.056 GB, free: 32.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01578/1.753, allocations: 4.65 MB / 1.061 GB, free: 28.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006969/1.754, allocations: 52 kB / 1.061 GB, free: 28.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02016/1.774, allocations: 19.59 MB / 1.08 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.774, allocations: 4 kB / 1.08 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03149/1.806, allocations: 17.49 MB / 1.097 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/1.807, allocations: 0.5335 MB / 1.097 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001651/1.809, allocations: 53.64 kB / 1.097 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00354/1.813, allocations: 259.5 kB / 1.098 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008107/1.813, allocations: 185.7 kB / 1.098 GB, free: 5.559 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002784/1.814, allocations: 89.47 kB / 1.098 GB, free: 5.473 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.2499/2.064, allocations: 3.349 MB / 1.101 GB, free: 120.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.42e-07/2.064, allocations: 0 / 1.101 GB, free: 120.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01081/2.074, allocations: 1.715 MB / 1.103 GB, free: 120.8 MB / 0.5417 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 (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001041/2.076, allocations: 208.8 kB / 1.103 GB, free: 120.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01512/2.091, allocations: 10.52 MB / 1.113 GB, free: 120.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/2.091, allocations: 0 / 1.113 GB, free: 120.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004894/2.096, allocations: 3.986 MB / 1.117 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003863/2.099, allocations: 0.5807 MB / 1.118 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02687/2.126, allocations: 18.34 MB / 1.136 GB, free: 114 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005116/2.132, allocations: 4.755 MB / 1.14 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007592/2.139, allocations: 3 MB / 1.143 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/2.14, allocations: 349 kB / 1.144 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of SimCode: time 5.92e-07/2.14, allocations: 0 / 1.144 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.1/2.24, allocations: 73.57 MB / 1.215 GB, free: 82.41 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches