Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 100.7 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.207/0.207, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.967e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1223, allocations: 61.92 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4074/0.5298, allocations: 110.6 MB / 0.6027 GB, free: 1.891 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.5301, allocations: 71.97 kB / 0.6027 GB, free: 1.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6872/1.217, allocations: 126.2 MB / 0.726 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.436e-06/1.217, allocations: 0 / 0.726 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005003/1.218, allocations: 119.6 kB / 0.7261 GB, free: 107.4 MB / 0.4948 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.02162/1.24, allocations: 6.318 MB / 0.7323 GB, free: 105 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.24, allocations: 14.55 kB / 0.7323 GB, free: 105 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03249/1.272, allocations: 8.316 MB / 0.7404 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01915/1.291, allocations: 7.057 MB / 0.7473 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/1.292, allocations: 192.1 kB / 0.7475 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003537/1.295, allocations: 355.6 kB / 0.7478 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01806/1.313, allocations: 10.16 MB / 0.7577 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02809/1.341, allocations: 14.08 MB / 0.7715 GB, free: 95.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003842/1.342, allocations: 77.75 kB / 0.7716 GB, free: 95.74 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002705/1.345, allocations: 38.81 kB / 0.7716 GB, free: 95.74 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002227/1.347, allocations: 1.616 MB / 0.7732 GB, free: 95.44 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07399/1.421, allocations: 61.47 MB / 0.8332 GB, free: 40.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00607/1.427, allocations: 5.604 MB / 0.8387 GB, free: 34.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003893/1.431, allocations: 3.431 MB / 0.842 GB, free: 31.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01994/1.451, allocations: 14.1 MB / 0.8558 GB, free: 16.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/1.451, allocations: 56.56 kB / 0.8558 GB, free: 16.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=289): time 7.164e-06/1.451, allocations: 4 kB / 0.8559 GB, free: 16.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.07516/1.526, allocations: 30.84 MB / 0.886 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/1.526, allocations: 218 kB / 0.8862 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3339/1.86, allocations: 4.263 MB / 0.8903 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008253/1.861, allocations: 26.95 kB / 0.8904 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003824/1.865, allocations: 4.52 MB / 0.8948 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001876/1.867, allocations: 1.218 MB / 0.896 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007502/1.868, allocations: 1.344 kB / 0.896 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006379/1.868, allocations: 0.6993 MB / 0.8967 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006712/1.875, allocations: 4.4 MB / 0.901 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01193/1.887, allocations: 9.584 MB / 0.9103 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/1.899, allocations: 6.382 MB / 0.9165 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002373/1.899, allocations: 54.75 kB / 0.9166 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.04532/1.944, allocations: 17.7 MB / 0.9339 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002/1.944, allocations: 84.81 kB / 0.934 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003099/1.945, allocations: 182.5 kB / 0.9341 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02189/1.967, allocations: 5.636 MB / 0.9396 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008649/1.975, allocations: 2.148 MB / 0.9417 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02483/2, allocations: 21.61 MB / 0.9628 GB, free: 89.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008703/2.009, allocations: 393.2 kB / 0.9632 GB, free: 89.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002176/2.011, allocations: 0.5286 MB / 0.9637 GB, free: 89.68 MB / 0.5105 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.003448/2.015, allocations: 0.5633 MB / 0.9643 GB, free: 89.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002109/2.017, allocations: 484.6 kB / 0.9647 GB, free: 88.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03472/2.052, allocations: 12.09 MB / 0.9765 GB, free: 85.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001155/2.052, allocations: 55.27 kB / 0.9766 GB, free: 85.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.204e-05/2.052, allocations: 17.84 kB / 0.9766 GB, free: 85.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001243/2.052, allocations: 17.16 kB / 0.9766 GB, free: 85.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05456/2.106, allocations: 22.56 MB / 0.9987 GB, free: 70.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.797e-05/2.107, allocations: 11.33 kB / 0.9987 GB, free: 70.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003282/2.11, allocations: 0.5721 MB / 0.9992 GB, free: 70.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01847/2.128, allocations: 4.631 MB / 1.004 GB, free: 67.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009951/2.129, allocations: 11.98 kB / 1.004 GB, free: 67.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02155/2.151, allocations: 17.36 MB / 1.021 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.514e-05/2.151, allocations: 4 kB / 1.021 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03604/2.187, allocations: 17.08 MB / 1.037 GB, free: 32.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002171/2.189, allocations: 0.4948 MB / 1.038 GB, free: 32.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002369/2.192, allocations: 8 kB / 1.038 GB, free: 32.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004523/2.196, allocations: 207.7 kB / 1.038 GB, free: 31.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001202/2.198, allocations: 196.5 kB / 1.038 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003453/2.198, allocations: 84.7 kB / 1.038 GB, free: 31.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005065/2.203, allocations: 2.842 MB / 1.041 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.41e-07/2.203, allocations: 2.625 kB / 1.041 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01221/2.215, allocations: 1.499 MB / 1.043 GB, free: 27.28 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 () * 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.001316/2.217, allocations: 162.3 kB / 1.043 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01619/2.233, allocations: 10.07 MB / 1.053 GB, free: 17.06 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/2.233, allocations: 0 / 1.053 GB, free: 17.06 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005511/2.238, allocations: 3.852 MB / 1.056 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/2.242, allocations: 462.9 kB / 1.057 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03237/2.275, allocations: 13.36 MB / 1.07 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01066/2.285, allocations: 4.745 MB / 1.074 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009874/2.295, allocations: 3.104 MB / 1.078 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/2.297, allocations: 339.4 kB / 1.078 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/2.297, allocations: 0 / 1.078 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of Templates: time 0.4358/2.733, allocations: 67.92 MB / 1.144 GB, free: 109.8 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches