Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001471/0.001471, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 90.39 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3003/0.3003, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.7e-05/1.703e-05, allocations: 224 / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3945, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2052/0.5997, allocations: 108.7 MB / 0.572 GB, free: 6.582 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.6001, allocations: 79.95 kB / 0.5721 GB, free: 6.504 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9159/1.516, allocations: 124.6 MB / 0.6937 GB, free: 103.9 MB / 475.1 MB Notification: Performance of FrontEnd: time 3.015e-06/1.516, allocations: 4 kB / 0.6937 GB, free: 103.9 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0005597/1.517, allocations: 120.9 kB / 0.6939 GB, free: 103.8 MB / 475.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.03682/1.554, allocations: 6.326 MB / 0.7 GB, free: 100.9 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/1.554, allocations: 6.781 kB / 0.7 GB, free: 100.9 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07456/1.628, allocations: 8.318 MB / 0.7082 GB, free: 97 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02841/1.657, allocations: 7.381 MB / 0.7154 GB, free: 92.1 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004079/1.657, allocations: 192 kB / 0.7156 GB, free: 91.91 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003811/1.661, allocations: 347.9 kB / 0.7159 GB, free: 91.57 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03013/1.691, allocations: 10.17 MB / 0.7258 GB, free: 81.41 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05276/1.744, allocations: 14.1 MB / 0.7396 GB, free: 66.14 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004391/1.744, allocations: 71.33 kB / 0.7397 GB, free: 66.07 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003407/1.748, allocations: 36 kB / 0.7397 GB, free: 66.04 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003455/1.751, allocations: 1.619 MB / 0.7413 GB, free: 64.42 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1002/1.852, allocations: 61.5 MB / 0.8013 GB, free: 1.605 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/1.863, allocations: 5.594 MB / 0.8068 GB, free: 11.76 MB / 491.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008203/1.871, allocations: 3.435 MB / 0.8101 GB, free: 8.309 MB / 491.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04168/1.913, allocations: 14.13 MB / 0.824 GB, free: 9.742 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.329e-05/1.913, allocations: 60.5 kB / 0.824 GB, free: 9.676 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=289): time 7.645e-06/1.913, allocations: 0 / 0.824 GB, free: 9.676 MB / 0.4952 GB Notification: Performance of matching and sorting (n=339): time 0.49/2.403, allocations: 30.95 MB / 0.8542 GB, free: 123.1 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.446e-05/2.403, allocations: 216.6 kB / 0.8544 GB, free: 122.9 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009665/2.413, allocations: 4.301 MB / 0.8586 GB, free: 122.5 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0009483/2.414, allocations: 25.7 kB / 0.8587 GB, free: 122.5 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.003731/2.418, allocations: 4.437 MB / 0.863 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.002155/2.42, allocations: 1.217 MB / 0.8642 GB, free: 119.1 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/2.421, allocations: 0 / 0.8642 GB, free: 119.1 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0005885/2.422, allocations: 0.7051 MB / 0.8649 GB, free: 118.7 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009053/2.431, allocations: 4.405 MB / 0.8692 GB, free: 117.9 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01289/2.444, allocations: 9.589 MB / 0.8785 GB, free: 109.2 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01306/2.457, allocations: 6.382 MB / 0.8848 GB, free: 107.1 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001965/2.457, allocations: 49.81 kB / 0.8848 GB, free: 107.1 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.06723/2.524, allocations: 17.57 MB / 0.902 GB, free: 102.1 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/2.524, allocations: 84.56 kB / 0.9021 GB, free: 102.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002845/2.525, allocations: 183.8 kB / 0.9022 GB, free: 102.1 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03901/2.564, allocations: 5.629 MB / 0.9077 GB, free: 101.2 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01386/2.578, allocations: 2.147 MB / 0.9098 GB, free: 101 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04399/2.622, allocations: 21.62 MB / 0.9309 GB, free: 84.38 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01182/2.634, allocations: 394.6 kB / 0.9313 GB, free: 84.1 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002522/2.636, allocations: 0.5327 MB / 0.9318 GB, free: 83.58 MB / 0.4952 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.002809/2.639, allocations: 0.5571 MB / 0.9324 GB, free: 83.02 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001505/2.64, allocations: 485.7 kB / 0.9328 GB, free: 82.54 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05726/2.698, allocations: 12.09 MB / 0.9447 GB, free: 73.1 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002033/2.698, allocations: 56.61 kB / 0.9447 GB, free: 73.05 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.267e-05/2.698, allocations: 11.95 kB / 0.9447 GB, free: 73.04 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.961e-05/2.698, allocations: 22.66 kB / 0.9447 GB, free: 73.02 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1218/2.82, allocations: 22.58 MB / 0.9668 GB, free: 49.98 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.274e-05/2.82, allocations: 4 kB / 0.9668 GB, free: 49.98 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008839/2.829, allocations: 0.5694 MB / 0.9674 GB, free: 49.41 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05153/2.881, allocations: 4.636 MB / 0.9719 GB, free: 44.77 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001156/2.882, allocations: 11.98 kB / 0.9719 GB, free: 44.75 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05455/2.936, allocations: 17.34 MB / 0.9888 GB, free: 27.19 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.64e-05/2.937, allocations: 10.25 kB / 0.9888 GB, free: 27.18 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05805/2.995, allocations: 17.09 MB / 1.006 GB, free: 9.789 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004739/2.999, allocations: 1.178 MB / 1.007 GB, free: 8.586 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001801/3.001, allocations: 12.06 kB / 1.007 GB, free: 8.574 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006106/3.007, allocations: 203.6 kB / 1.007 GB, free: 8.375 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00133/3.009, allocations: 189.6 kB / 1.007 GB, free: 8.191 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005236/3.009, allocations: 92.84 kB / 1.007 GB, free: 8.102 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.007159/3.016, allocations: 2.858 MB / 1.01 GB, free: 5.258 MB / 0.4952 GB Notification: Performance of sort global known variables: time 9.32e-07/3.017, allocations: 0 / 1.01 GB, free: 5.258 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.01185/3.028, allocations: 1.491 MB / 1.011 GB, free: 3.77 MB / 0.4952 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.001263/3.03, allocations: 171.7 kB / 1.012 GB, free: 3.598 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.3761/3.406, allocations: 10.07 MB / 1.021 GB, free: 128.5 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/3.406, allocations: 1.188 kB / 1.021 GB, free: 128.5 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.009473/3.415, allocations: 3.871 MB / 1.025 GB, free: 128.3 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004959/3.42, allocations: 459.4 kB / 1.026 GB, free: 128.3 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04488/3.465, allocations: 14.09 MB / 1.039 GB, free: 126 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01287/3.478, allocations: 4.765 MB / 1.044 GB, free: 125.2 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003214/3.481, allocations: 409.4 kB / 1.044 GB, free: 125.2 MB / 0.5108 GB Notification: Performance of SimCode: time 1.593e-06/3.481, allocations: 0 / 1.044 GB, free: 125.2 MB / 0.5108 GB Notification: Performance of Templates: time 0.2765/3.758, allocations: 140.3 MB / 1.181 GB, free: 27.62 MB / 0.5108 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches