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.001529/0.001529, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.00115, allocations: 99.48 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5149/0.5149, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004925, allocations: 15.98 kB / 431.4 MB, free: 5.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1249, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5138/0.6388, allocations: 109.4 MB / 0.5856 GB, free: 9.109 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.6391, allocations: 79.95 kB / 0.5857 GB, free: 9.031 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9044/1.544, allocations: 126.9 MB / 0.7096 GB, free: 87.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.896e-06/1.544, allocations: 0 / 0.7096 GB, free: 87.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004265/1.544, allocations: 111.4 kB / 0.7097 GB, free: 87.07 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.03218/1.576, allocations: 6.798 MB / 0.7163 GB, free: 84.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.576, allocations: 9.844 kB / 0.7164 GB, free: 84.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06424/1.641, allocations: 8.308 MB / 0.7245 GB, free: 83.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02942/1.67, allocations: 7.408 MB / 0.7317 GB, free: 83.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006091/1.671, allocations: 451.7 kB / 0.7321 GB, free: 83.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004192/1.675, allocations: 0.59 MB / 0.7327 GB, free: 83.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05139/1.726, allocations: 15.74 MB / 0.7481 GB, free: 76.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004667/1.727, allocations: 68.69 kB / 0.7481 GB, free: 76.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00376/1.731, allocations: 283.5 kB / 0.7484 GB, free: 76.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003627/1.734, allocations: 1.626 MB / 0.75 GB, free: 76.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04341/1.778, allocations: 14.01 MB / 0.7637 GB, free: 72.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1128/1.891, allocations: 64.09 MB / 0.8263 GB, free: 17.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02356/1.914, allocations: 6.458 MB / 0.8326 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03839/1.953, allocations: 14.45 MB / 0.8467 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.181e-05/1.953, allocations: 64.5 kB / 0.8467 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=289): time 8.797e-06/1.953, allocations: 0 / 0.8467 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.6508/2.604, allocations: 42.35 MB / 0.8881 GB, free: 94.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.884e-05/2.604, allocations: 218.3 kB / 0.8883 GB, free: 94.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01317/2.617, allocations: 4.844 MB / 0.893 GB, free: 93.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009955/2.618, allocations: 74.23 kB / 0.8931 GB, free: 93.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004185/2.622, allocations: 4.293 MB / 0.8973 GB, free: 91.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002292/2.625, allocations: 1.254 MB / 0.8985 GB, free: 90.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001538/2.626, allocations: 172.4 kB / 0.8987 GB, free: 90.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007766/2.627, allocations: 0.6854 MB / 0.8994 GB, free: 90.51 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01204/2.639, allocations: 4.568 MB / 0.9038 GB, free: 90.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01573/2.655, allocations: 9.527 MB / 0.9131 GB, free: 82.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01486/2.67, allocations: 6.446 MB / 0.9194 GB, free: 80.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002086/2.67, allocations: 50.41 kB / 0.9195 GB, free: 80.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.07253/2.743, allocations: 18.56 MB / 0.9376 GB, free: 74.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/2.743, allocations: 80.34 kB / 0.9377 GB, free: 74.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000304/2.743, allocations: 175.5 kB / 0.9378 GB, free: 74.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04052/2.784, allocations: 5.637 MB / 0.9433 GB, free: 73.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01421/2.798, allocations: 2.058 MB / 0.9453 GB, free: 73.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05191/2.85, allocations: 24.3 MB / 0.9691 GB, free: 62.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01243/2.862, allocations: 0.5417 MB / 0.9696 GB, free: 61.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002453/2.865, allocations: 0.5064 MB / 0.9701 GB, free: 61.84 MB / 0.4948 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.00984/2.875, allocations: 3.104 MB / 0.9731 GB, free: 59.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001779/2.876, allocations: 0.5013 MB / 0.9736 GB, free: 58.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05575/2.932, allocations: 12.42 MB / 0.9857 GB, free: 49.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000117/2.932, allocations: 65.92 kB / 0.9858 GB, free: 49.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/2.932, allocations: 8 kB / 0.9858 GB, free: 49.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.12e-05/2.933, allocations: 13.5 kB / 0.9858 GB, free: 49.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08543/3.018, allocations: 24.06 MB / 1.009 GB, free: 25.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.288e-05/3.018, allocations: 4 kB / 1.009 GB, free: 25.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005907/3.024, allocations: 0.5733 MB / 1.01 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03531/3.059, allocations: 4.64 MB / 1.014 GB, free: 20.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009681/3.06, allocations: 63.98 kB / 1.014 GB, free: 20.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04068/3.101, allocations: 19.57 MB / 1.034 GB, free: 352 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/3.101, allocations: 7.953 kB / 1.034 GB, free: 344 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4511/3.552, allocations: 17.5 MB / 1.051 GB, free: 99.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005282/3.558, allocations: 1.223 MB / 1.052 GB, free: 99.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002279/3.56, allocations: 52.86 kB / 1.052 GB, free: 99.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006861/3.567, allocations: 251.7 kB / 1.052 GB, free: 99.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001625/3.569, allocations: 193.9 kB / 1.052 GB, free: 99.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007022/3.569, allocations: 88.11 kB / 1.052 GB, free: 99.31 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00967/3.579, allocations: 3.373 MB / 1.056 GB, free: 99.13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.51e-07/3.579, allocations: 4.562 kB / 1.056 GB, free: 99.13 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01206/3.591, allocations: 1.711 MB / 1.057 GB, free: 99.13 MB / 0.5105 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.001405/3.593, allocations: 216.3 kB / 1.058 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02464/3.617, allocations: 10.53 MB / 1.068 GB, free: 98.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/3.617, allocations: 3.188 kB / 1.068 GB, free: 98.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009571/3.627, allocations: 3.993 MB / 1.072 GB, free: 98.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005856/3.633, allocations: 0.573 MB / 1.072 GB, free: 98.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04781/3.681, allocations: 19.08 MB / 1.091 GB, free: 91.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01352/3.694, allocations: 4.765 MB / 1.096 GB, free: 89.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003367/3.698, allocations: 414.9 kB / 1.096 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of SimCode: time 2.204e-06/3.698, allocations: 6.844 kB / 1.096 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of Templates: time 0.2625/3.96, allocations: 142.9 MB / 1.236 GB, free: 11.55 MB / 0.5261 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