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.0009157/0.0009156, allocations: 179.2 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.3 MB / 242.1 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008168/0.0008168, allocations: 101.5 kB / 293.3 MB, free: 10.57 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.3623/0.3623, allocations: 44.14 MB / 388.5 MB, free: 38.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.000432, allocations: 12 kB / 461.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3322, allocations: 61.88 MB / 0.5107 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.4756, allocations: 111.4 MB / 0.6196 GB, free: 15.61 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.476, allocations: 87.94 kB / 0.6196 GB, free: 15.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5352/1.011, allocations: 126.6 MB / 0.7433 GB, free: 90.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.935e-06/1.011, allocations: 0 / 0.7433 GB, free: 90.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003277/1.012, allocations: 118.8 kB / 0.7434 GB, free: 90.77 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.0227/1.034, allocations: 6.542 MB / 0.7498 GB, free: 87.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.034, allocations: 10.62 kB / 0.7498 GB, free: 87.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02557/1.06, allocations: 6.661 MB / 0.7563 GB, free: 85.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01434/1.074, allocations: 5.936 MB / 0.7621 GB, free: 82.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004209/1.075, allocations: 452.9 kB / 0.7626 GB, free: 81.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003563/1.078, allocations: 0.5911 MB / 0.7631 GB, free: 81.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03071/1.109, allocations: 15.61 MB / 0.7784 GB, free: 67.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003486/1.11, allocations: 75.27 kB / 0.7785 GB, free: 67.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0021/1.112, allocations: 287.8 kB / 0.7787 GB, free: 67.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00188/1.114, allocations: 1.62 MB / 0.7803 GB, free: 65.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02602/1.14, allocations: 13.84 MB / 0.7938 GB, free: 51.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07273/1.212, allocations: 63.97 MB / 0.8563 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01335/1.226, allocations: 6.374 MB / 0.8625 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004806/1.231, allocations: 3.562 MB / 0.866 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.274/1.505, allocations: 14.31 MB / 0.88 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/1.505, allocations: 65.66 kB / 0.88 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=289): time 6.071e-06/1.505, allocations: 0 / 0.88 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339): time 0.1246/1.629, allocations: 41.42 MB / 0.9205 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.208e-05/1.629, allocations: 215.4 kB / 0.9207 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007882/1.637, allocations: 5.41 MB / 0.926 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007856/1.638, allocations: 73.25 kB / 0.9261 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002576/1.641, allocations: 4.428 MB / 0.9304 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001402/1.642, allocations: 1.253 MB / 0.9316 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005386/1.643, allocations: 171.1 kB / 0.9318 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000354/1.643, allocations: 0.682 MB / 0.9324 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005307/1.648, allocations: 4.569 MB / 0.9369 GB, free: 102 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009335/1.658, allocations: 9.555 MB / 0.9462 GB, free: 93.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01578/1.674, allocations: 15.19 MB / 0.9611 GB, free: 82.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001629/1.674, allocations: 52.91 kB / 0.9611 GB, free: 82.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.03749/1.711, allocations: 18.73 MB / 0.9794 GB, free: 69.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.494e-05/1.711, allocations: 80 kB / 0.9795 GB, free: 69.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001643/1.712, allocations: 176 kB / 0.9796 GB, free: 69.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01825/1.73, allocations: 5.609 MB / 0.9851 GB, free: 66.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007127/1.737, allocations: 2.058 MB / 0.9871 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02563/1.763, allocations: 23.68 MB / 1.01 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0073/1.77, allocations: 0.546 MB / 1.011 GB, free: 40.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0016/1.772, allocations: 0.5076 MB / 1.011 GB, free: 39.83 MB / 0.5105 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.006489/1.778, allocations: 3.094 MB / 1.014 GB, free: 36.72 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001538/1.78, allocations: 0.4974 MB / 1.015 GB, free: 36.22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02526/1.805, allocations: 12.42 MB / 1.027 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.724e-05/1.805, allocations: 55.98 kB / 1.027 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/1.805, allocations: 10.06 kB / 1.027 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-05/1.805, allocations: 19.94 kB / 1.027 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04422/1.849, allocations: 24.04 MB / 1.05 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.387e-05/1.849, allocations: 8.125 kB / 1.05 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003068/1.853, allocations: 0.5694 MB / 1.051 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0171/1.87, allocations: 4.642 MB / 1.056 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007586/1.87, allocations: 62.95 kB / 1.056 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3162/2.187, allocations: 18.94 MB / 1.074 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.453e-06/2.187, allocations: 5.812 kB / 1.074 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.033/2.22, allocations: 16.76 MB / 1.091 GB, free: 131.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001697/2.222, allocations: 0.5317 MB / 1.091 GB, free: 131.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00122/2.223, allocations: 59.81 kB / 1.091 GB, free: 131.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002882/2.226, allocations: 251.6 kB / 1.091 GB, free: 131.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000688/2.226, allocations: 196.9 kB / 1.092 GB, free: 131.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002896/2.227, allocations: 85.28 kB / 1.092 GB, free: 131.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005987/2.233, allocations: 3.347 MB / 1.095 GB, free: 131.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.92e-07/2.233, allocations: 0 / 1.095 GB, free: 131.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009506/2.242, allocations: 1.717 MB / 1.097 GB, free: 131.6 MB / 0.5417 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.00088/2.243, allocations: 211.8 kB / 1.097 GB, free: 131.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01817/2.261, allocations: 10.51 MB / 1.107 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/2.261, allocations: 8.5 kB / 1.107 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005623/2.267, allocations: 3.991 MB / 1.111 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008785/2.276, allocations: 0.6152 MB / 1.112 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02692/2.303, allocations: 18.4 MB / 1.129 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005314/2.308, allocations: 4.622 MB / 1.134 GB, free: 115.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007119/2.315, allocations: 2.995 MB / 1.137 GB, free: 115.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/2.317, allocations: 353.1 kB / 1.137 GB, free: 115.5 MB / 0.5417 GB Notification: Performance of SimCode: time 6.51e-07/2.317, allocations: 0 / 1.137 GB, free: 115.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.107/2.424, allocations: 73.74 MB / 1.209 GB, free: 64.65 MB / 0.5417 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/jenkins1/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