Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 105.4 kB / 15.98 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 195.9 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2308/0.2308, allocations: 43.53 MB / 313.6 MB, free: 0.6914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 70.42 kB / 382.2 MB, free: 56.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1356, allocations: 57.78 MB / 440 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.05292/0.1886, allocations: 53.49 MB / 493.5 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03312/0.2218, allocations: 11.12 MB / 0.4928 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01442/0.2362, allocations: 231.4 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007046/0.2433, allocations: 3.027 MB / 0.496 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008278/0.2517, allocations: 2.393 MB / 0.4983 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.2548, allocations: 0.9479 MB / 0.4992 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0117/0.2665, allocations: 6.877 MB / 0.5059 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007781/0.2743, allocations: 4.607 MB / 0.5104 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005131/0.2795, allocations: 2.285 MB / 0.5127 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005819/0.2854, allocations: 3.599 MB / 0.5162 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002448/0.2878, allocations: 488 kB / 0.5167 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004812/0.2927, allocations: 1.51 MB / 0.5181 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004646/0.2974, allocations: 2.914 MB / 0.521 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005362/0.3028, allocations: 3.297 MB / 0.5242 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3426/0.6454, allocations: 10.14 MB / 0.5341 GB, free: 18.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.6454, allocations: 0.5625 kB / 0.5341 GB, free: 18.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6454, allocations: 0.875 kB / 0.5341 GB, free: 18.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004566/0.6459, allocations: 0 / 0.5341 GB, free: 18.09 MB / 414.1 MB 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.02729/0.6732, allocations: 7.339 MB / 0.5413 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.6733, allocations: 12.86 kB / 0.5413 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01827/0.6916, allocations: 3.924 MB / 0.5451 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/0.7056, allocations: 4.223 MB / 0.5492 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005062/0.7062, allocations: 317.7 kB / 0.5495 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003368/0.7095, allocations: 433.2 kB / 0.5499 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03279/0.7423, allocations: 15.74 MB / 0.5653 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000217/0.7426, allocations: 52.34 kB / 0.5654 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009396/0.7436, allocations: 205.2 kB / 0.5656 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004612/0.7482, allocations: 3.219 MB / 0.5687 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02638/0.7746, allocations: 14.16 MB / 0.5825 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09056/0.8652, allocations: 57.77 MB / 0.639 GB, free: 7.918 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01518/0.8804, allocations: 6.599 MB / 0.6454 GB, free: 1.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00703/0.8875, allocations: 3.756 MB / 0.6491 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02473/0.9123, allocations: 14.79 MB / 0.6635 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/0.9124, allocations: 64.55 kB / 0.6636 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=292): time 5.74e-06/0.9124, allocations: 0 / 0.6636 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=342): time 0.1545/1.067, allocations: 42.55 MB / 0.7051 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/1.067, allocations: 220.7 kB / 0.7053 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009201/1.076, allocations: 5.495 MB / 0.7107 GB, free: 13.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001303/1.078, allocations: 76.83 kB / 0.7108 GB, free: 13.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003824/1.082, allocations: 4.344 MB / 0.715 GB, free: 9.465 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002317/1.084, allocations: 1.261 MB / 0.7162 GB, free: 8.215 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003196/1.087, allocations: 1.854 MB / 0.7181 GB, free: 6.348 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.087, allocations: 309.1 kB / 0.7183 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007307/1.095, allocations: 4.841 MB / 0.7231 GB, free: 1.195 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01121/1.106, allocations: 9.83 MB / 0.7327 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3066/1.412, allocations: 15.63 MB / 0.7479 GB, free: 219.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001928/1.413, allocations: 50.12 kB / 0.748 GB, free: 219.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.04715/1.46, allocations: 19.62 MB / 0.7671 GB, free: 212.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/1.46, allocations: 79.62 kB / 0.7672 GB, free: 212.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002217/1.46, allocations: 175.5 kB / 0.7674 GB, free: 212.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0211/1.481, allocations: 5.94 MB / 0.7732 GB, free: 211.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00773/1.489, allocations: 2.128 MB / 0.7753 GB, free: 210.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02933/1.518, allocations: 26.15 MB / 0.8008 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009046/1.528, allocations: 0.5561 MB / 0.8013 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002129/1.53, allocations: 0.5117 MB / 0.8018 GB, free: 183.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * 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 (1099): * Single equations (assignments): 1091 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007892/1.538, allocations: 3.105 MB / 0.8049 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001668/1.539, allocations: 0.4886 MB / 0.8053 GB, free: 180 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0271/1.566, allocations: 13.01 MB / 0.8181 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001118/1.567, allocations: 59.98 kB / 0.8181 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/1.567, allocations: 8 kB / 0.8181 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-05/1.567, allocations: 19.89 kB / 0.8181 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04665/1.613, allocations: 24.69 MB / 0.8423 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.641e-05/1.613, allocations: 4 kB / 0.8423 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00317/1.617, allocations: 0.5856 MB / 0.8428 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01682/1.633, allocations: 4.973 MB / 0.8477 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001015/1.634, allocations: 56.88 kB / 0.8477 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02182/1.656, allocations: 21.34 MB / 0.8686 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/1.656, allocations: 12 kB / 0.8686 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03165/1.688, allocations: 17.58 MB / 0.8858 GB, free: 96.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004202/1.692, allocations: 1.252 MB / 0.887 GB, free: 95.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001887/1.694, allocations: 55.05 kB / 0.887 GB, free: 95.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003868/1.698, allocations: 271.6 kB / 0.8873 GB, free: 95.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008776/1.699, allocations: 200.7 kB / 0.8875 GB, free: 95.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003091/1.699, allocations: 84.17 kB / 0.8876 GB, free: 94.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005526/1.705, allocations: 3.414 MB / 0.8909 GB, free: 91.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.9e-07/1.705, allocations: 7.938 kB / 0.8909 GB, free: 91.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01108/1.716, allocations: 1.771 MB / 0.8926 GB, free: 89.82 MB / 0.5606 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 (257): * Single equations (assignments): 249 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001133/1.717, allocations: 200.9 kB / 0.8928 GB, free: 89.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0244/1.742, allocations: 15.92 MB / 0.9084 GB, free: 73.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.742, allocations: 0 / 0.9084 GB, free: 73.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005381/1.747, allocations: 4.136 MB / 0.9124 GB, free: 69.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004633/1.752, allocations: 0.6098 MB / 0.913 GB, free: 68.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02953/1.781, allocations: 19.31 MB / 0.9319 GB, free: 49.58 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005312/1.787, allocations: 4.629 MB / 0.9364 GB, free: 44.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.007494/1.794, allocations: 2.978 MB / 0.9393 GB, free: 41.94 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/1.796, allocations: 355.4 kB / 0.9396 GB, free: 41.6 MB / 0.5606 GB Notification: Performance of SimCode: time 8.61e-07/1.796, allocations: 0 / 0.9396 GB, free: 41.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.4243/2.22, allocations: 81.42 MB / 1.019 GB, free: 182.5 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches