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.001176/0.001176, allocations: 181.4 kB / 17.41 MB, free: 4.387 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007771/0.0007775, allocations: 89.42 kB / 271.9 MB, free: 8.258 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.3518/0.3518, allocations: 43.56 MB / 363.8 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003661, allocations: 12 kB / 432.6 MB, free: 5.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1141, allocations: 58.85 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3714/0.4855, allocations: 109.6 MB / 0.5869 GB, free: 8.793 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.4858, allocations: 71.97 kB / 0.587 GB, free: 8.723 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5457/1.032, allocations: 125 MB / 0.7091 GB, free: 86.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.355e-06/1.032, allocations: 0 / 0.7091 GB, free: 86.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003588/1.032, allocations: 116.4 kB / 0.7092 GB, free: 86.49 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.02424/1.056, allocations: 6.567 MB / 0.7156 GB, free: 83.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.056, allocations: 8.219 kB / 0.7156 GB, free: 83.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02875/1.085, allocations: 6.674 MB / 0.7222 GB, free: 83.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01817/1.103, allocations: 6.253 MB / 0.7283 GB, free: 82.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005611/1.104, allocations: 453.9 kB / 0.7287 GB, free: 82.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003684/1.108, allocations: 0.5855 MB / 0.7293 GB, free: 82.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03966/1.147, allocations: 15.62 MB / 0.7445 GB, free: 76.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004544/1.148, allocations: 75.69 kB / 0.7446 GB, free: 76.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003239/1.151, allocations: 283.6 kB / 0.7449 GB, free: 76.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002317/1.153, allocations: 1.615 MB / 0.7464 GB, free: 76.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.027/1.18, allocations: 13.84 MB / 0.76 GB, free: 72.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0815/1.262, allocations: 64.02 MB / 0.8225 GB, free: 21.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01328/1.275, allocations: 6.37 MB / 0.8287 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004574/1.28, allocations: 3.571 MB / 0.8322 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02442/1.304, allocations: 14.35 MB / 0.8462 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.33e-05/1.304, allocations: 60.56 kB / 0.8463 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=289): time 7.634e-06/1.304, allocations: 7.938 kB / 0.8463 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.4112/1.716, allocations: 41.55 MB / 0.8868 GB, free: 95.42 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.485e-05/1.716, allocations: 212.8 kB / 0.887 GB, free: 95.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009013/1.725, allocations: 5.436 MB / 0.8924 GB, free: 94.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009545/1.726, allocations: 71.33 kB / 0.8924 GB, free: 94.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003/1.729, allocations: 4.432 MB / 0.8968 GB, free: 92.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001796/1.731, allocations: 1.26 MB / 0.898 GB, free: 91.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006367/1.731, allocations: 173.8 kB / 0.8981 GB, free: 91.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005018/1.732, allocations: 0.678 MB / 0.8988 GB, free: 91.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007482/1.739, allocations: 4.569 MB / 0.9033 GB, free: 91.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01029/1.75, allocations: 9.551 MB / 0.9126 GB, free: 83.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0156/1.765, allocations: 15.19 MB / 0.9274 GB, free: 72.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001762/1.765, allocations: 54.12 kB / 0.9275 GB, free: 72.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.04132/1.807, allocations: 18.73 MB / 0.9458 GB, free: 66.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004252/1.807, allocations: 80.78 kB / 0.9459 GB, free: 66.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004919/1.808, allocations: 176 kB / 0.946 GB, free: 66.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01946/1.827, allocations: 5.612 MB / 0.9515 GB, free: 65.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007437/1.835, allocations: 2.06 MB / 0.9535 GB, free: 65.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02774/1.862, allocations: 23.66 MB / 0.9766 GB, free: 54.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008681/1.871, allocations: 0.5418 MB / 0.9771 GB, free: 53.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002185/1.873, allocations: 0.5082 MB / 0.9776 GB, free: 53.24 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.009949/1.883, allocations: 3.092 MB / 0.9807 GB, free: 50.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001981/1.885, allocations: 0.5013 MB / 0.9812 GB, free: 50.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02891/1.914, allocations: 12.43 MB / 0.9933 GB, free: 40.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-05/1.914, allocations: 52 kB / 0.9933 GB, free: 40.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-05/1.914, allocations: 8 kB / 0.9934 GB, free: 40.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.711e-05/1.915, allocations: 17.02 kB / 0.9934 GB, free: 40.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05729/1.972, allocations: 24.07 MB / 1.017 GB, free: 16.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.504e-05/1.972, allocations: 4 kB / 1.017 GB, free: 16.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003199/1.975, allocations: 0.5694 MB / 1.017 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01701/1.992, allocations: 4.646 MB / 1.022 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008988/1.993, allocations: 57.02 kB / 1.022 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02447/2.018, allocations: 18.95 MB / 1.041 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/2.018, allocations: 11.69 kB / 1.041 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3047/2.322, allocations: 16.76 MB / 1.057 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003208/2.326, allocations: 1.217 MB / 1.058 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/2.327, allocations: 58.73 kB / 1.058 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003068/2.33, allocations: 251.4 kB / 1.058 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006763/2.331, allocations: 194.7 kB / 1.059 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003081/2.331, allocations: 85.62 kB / 1.059 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005217/2.336, allocations: 3.374 MB / 1.062 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/2.336, allocations: 3.844 kB / 1.062 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007912/2.344, allocations: 1.71 MB / 1.064 GB, free: 100.1 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.0006918/2.345, allocations: 218.6 kB / 1.064 GB, free: 100 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01344/2.358, allocations: 10.52 MB / 1.074 GB, free: 99.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/2.358, allocations: 1.641 kB / 1.074 GB, free: 99.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005041/2.363, allocations: 3.987 MB / 1.078 GB, free: 99.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009691/2.373, allocations: 0.6136 MB / 1.079 GB, free: 99.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03072/2.404, allocations: 19.16 MB / 1.097 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005867/2.41, allocations: 4.633 MB / 1.102 GB, free: 89.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002272/2.412, allocations: 418.1 kB / 1.102 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of SimCode: time 9.12e-07/2.412, allocations: 0 / 1.102 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of Templates: time 0.4367/2.849, allocations: 148.8 MB / 1.248 GB, free: 117.4 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