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.001426/0.001426, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009123/0.0009124, allocations: 103 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1888/0.1888, allocations: 45.14 MB / 383.7 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.64e-05/1.649e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4788/0.5906, allocations: 111.5 MB / 0.6132 GB, free: 7.414 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.5909, allocations: 74.97 kB / 0.6133 GB, free: 7.379 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3129/0.9038, allocations: 128.5 MB / 0.7388 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9039, allocations: 4 kB / 0.7388 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002914/0.9042, allocations: 116 kB / 0.7389 GB, free: 14.43 MB / 0.5261 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.01999/0.9242, allocations: 6.341 MB / 0.7451 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.9242, allocations: 12.03 kB / 0.7451 GB, free: 8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.379/1.303, allocations: 8.306 MB / 0.7532 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02123/1.325, allocations: 6.423 MB / 0.7595 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005463/1.325, allocations: 191.6 kB / 0.7597 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004773/1.33, allocations: 354.9 kB / 0.76 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02578/1.356, allocations: 10.16 MB / 0.77 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03238/1.388, allocations: 14.09 MB / 0.7837 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000406/1.389, allocations: 69.41 kB / 0.7838 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002817/1.391, allocations: 41.56 kB / 0.7838 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002247/1.394, allocations: 1.618 MB / 0.7854 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07416/1.468, allocations: 61.46 MB / 0.8454 GB, free: 73.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005755/1.474, allocations: 5.595 MB / 0.8509 GB, free: 70.58 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003692/1.477, allocations: 3.425 MB / 0.8542 GB, free: 69.17 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01925/1.497, allocations: 14.11 MB / 0.868 GB, free: 62.01 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/1.497, allocations: 60.69 kB / 0.8681 GB, free: 61.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=289): time 5.36e-06/1.497, allocations: 0 / 0.8681 GB, free: 61.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=339): time 0.06308/1.56, allocations: 30.82 MB / 0.8982 GB, free: 40.44 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/1.56, allocations: 214 kB / 0.8984 GB, free: 40.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005867/1.566, allocations: 4.271 MB / 0.9025 GB, free: 36.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000838/1.567, allocations: 25.7 kB / 0.9026 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002025/1.569, allocations: 4.519 MB / 0.907 GB, free: 32.31 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001321/1.57, allocations: 1.223 MB / 0.9082 GB, free: 31.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004087/1.571, allocations: 0 / 0.9082 GB, free: 31.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003932/1.571, allocations: 0.6981 MB / 0.9089 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004523/1.575, allocations: 4.395 MB / 0.9131 GB, free: 26.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006458/1.582, allocations: 9.59 MB / 0.9225 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007626/1.59, allocations: 6.384 MB / 0.9287 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001443/1.59, allocations: 55.95 kB / 0.9288 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.04641/1.636, allocations: 18.13 MB / 0.9465 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002299/1.636, allocations: 85.56 kB / 0.9466 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003695/1.637, allocations: 184 kB / 0.9468 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02295/1.66, allocations: 5.629 MB / 0.9523 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008915/1.669, allocations: 2.152 MB / 0.9544 GB, free: 4.512 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3769/2.046, allocations: 21.62 MB / 0.9755 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007438/2.053, allocations: 388 kB / 0.9758 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001977/2.055, allocations: 0.5313 MB / 0.9764 GB, free: 113.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 841 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1109): * Single equations (assignments): 1101 * 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.001909/2.057, allocations: 0.5552 MB / 0.9769 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/2.058, allocations: 484.7 kB / 0.9774 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02802/2.086, allocations: 12.09 MB / 0.9892 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001007/2.086, allocations: 55.5 kB / 0.9892 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.909e-05/2.087, allocations: 7.594 kB / 0.9892 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-05/2.087, allocations: 22.31 kB / 0.9893 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04275/2.129, allocations: 22.58 MB / 1.011 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.76e-05/2.129, allocations: 6.375 kB / 1.011 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003162/2.133, allocations: 0.5736 MB / 1.012 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01741/2.15, allocations: 4.63 MB / 1.016 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007051/2.151, allocations: 14.42 kB / 1.016 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01883/2.17, allocations: 17.33 MB / 1.033 GB, free: 97.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/2.17, allocations: 6.531 kB / 1.033 GB, free: 97.52 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03183/2.202, allocations: 17.08 MB / 1.05 GB, free: 91.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001812/2.203, allocations: 0.4929 MB / 1.051 GB, free: 90.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/2.204, allocations: 12.66 kB / 1.051 GB, free: 90.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002725/2.207, allocations: 204.8 kB / 1.051 GB, free: 90.74 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005911/2.208, allocations: 194 kB / 1.051 GB, free: 90.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002466/2.208, allocations: 87.2 kB / 1.051 GB, free: 90.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004432/2.212, allocations: 2.837 MB / 1.054 GB, free: 89.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.4e-07/2.212, allocations: 3.844 kB / 1.054 GB, free: 89.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009362/2.222, allocations: 1.501 MB / 1.055 GB, free: 89.68 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 () * 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.0009898/2.223, allocations: 172.9 kB / 1.055 GB, free: 89.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01518/2.238, allocations: 10.07 MB / 1.065 GB, free: 86.12 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.537e-05/2.238, allocations: 0 / 1.065 GB, free: 86.12 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00508/2.243, allocations: 3.856 MB / 1.069 GB, free: 82.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/2.247, allocations: 461.5 kB / 1.069 GB, free: 82.34 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02533/2.272, allocations: 13.38 MB / 1.082 GB, free: 70.41 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005881/2.278, allocations: 4.74 MB / 1.087 GB, free: 66.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008126/2.286, allocations: 3.099 MB / 1.09 GB, free: 65.08 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001546/2.288, allocations: 342.1 kB / 1.09 GB, free: 64.76 MB / 0.5417 GB Notification: Performance of SimCode: time 2.144e-06/2.288, allocations: 0 / 1.09 GB, free: 64.76 MB / 0.5417 GB Notification: Performance of Templates: time 0.1056/2.393, allocations: 67.92 MB / 1.157 GB, free: 15.74 MB / 0.5573 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