Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000914/0.0009142, allocations: 183 kB / 18.09 MB, free: 3.727 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.322/1.322, allocations: 223.3 MB / 242.1 MB, free: 9.957 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.0008364/0.0008364, allocations: 89.36 kB / 293.3 MB, free: 10.56 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.3599/0.3599, allocations: 44.14 MB / 388.5 MB, free: 38.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 16 kB / 461.1 MB, free: 1.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3444, allocations: 61.88 MB / 0.5107 GB, free: 37.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.4764, allocations: 105.5 MB / 0.6138 GB, free: 5.508 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.4767, allocations: 83.94 kB / 0.6139 GB, free: 5.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.439/0.9157, allocations: 89.29 MB / 0.7011 GB, free: 96.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.9157, allocations: 3.391 kB / 0.7011 GB, free: 96.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001776/0.9159, allocations: 79.25 kB / 0.7011 GB, free: 96.2 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: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.0131/0.929, allocations: 4.201 MB / 0.7052 GB, free: 94.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.9291, allocations: 9.969 kB / 0.7053 GB, free: 94.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01446/0.9436, allocations: 3.503 MB / 0.7087 GB, free: 94.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009597/0.9532, allocations: 3.422 MB / 0.712 GB, free: 93.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000551/0.9538, allocations: 326.6 kB / 0.7123 GB, free: 93.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002484/0.9563, allocations: 435.1 kB / 0.7127 GB, free: 93.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02314/0.9794, allocations: 10.71 MB / 0.7232 GB, free: 91.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002427/0.9797, allocations: 28.31 kB / 0.7232 GB, free: 91.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001479/0.9812, allocations: 198.5 kB / 0.7234 GB, free: 91.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001621/0.9828, allocations: 1.19 MB / 0.7246 GB, free: 91.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01953/1.002, allocations: 10.31 MB / 0.7347 GB, free: 87.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05288/1.055, allocations: 36.46 MB / 0.7703 GB, free: 65.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007272/1.063, allocations: 4.278 MB / 0.7744 GB, free: 63.74 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002752/1.065, allocations: 2.108 MB / 0.7765 GB, free: 62.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/1.067, allocations: 1.314 MB / 0.7778 GB, free: 61.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.519e-05/1.067, allocations: 55 kB / 0.7778 GB, free: 61.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 8.586e-06/1.067, allocations: 0 / 0.7778 GB, free: 61.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=256): time 0.03551/1.102, allocations: 13.5 MB / 0.791 GB, free: 50.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/1.102, allocations: 77.41 kB / 0.7911 GB, free: 50.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004226/1.106, allocations: 2.76 MB / 0.7938 GB, free: 48.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003907/1.107, allocations: 57.7 kB / 0.7938 GB, free: 47.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/1.108, allocations: 2.859 MB / 0.7966 GB, free: 45.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009351/1.109, allocations: 0.9441 MB / 0.7976 GB, free: 44.58 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004621/1.11, allocations: 112 kB / 0.7977 GB, free: 44.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003972/1.11, allocations: 0.5488 MB / 0.7982 GB, free: 43.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003027/1.113, allocations: 2.273 MB / 0.8004 GB, free: 42.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004212/1.117, allocations: 5.368 MB / 0.8057 GB, free: 35.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007723/1.125, allocations: 8.417 MB / 0.8139 GB, free: 25.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.681e-05/1.125, allocations: 36 kB / 0.8139 GB, free: 25.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.0137/1.139, allocations: 8.349 MB / 0.8221 GB, free: 17.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/1.139, allocations: 52 kB / 0.8221 GB, free: 17.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/1.139, allocations: 108 kB / 0.8222 GB, free: 17.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003168/1.142, allocations: 1.033 MB / 0.8232 GB, free: 16.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004083/1.146, allocations: 1.294 MB / 0.8245 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/1.149, allocations: 2.462 MB / 0.8269 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004028/1.153, allocations: 310.4 kB / 0.8272 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/1.154, allocations: 328 kB / 0.8275 GB, free: 11.58 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 490 * Number of states: 0 () * Number of discrete variables: 26 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (700): * Single equations (assignments): 691 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005477/1.159, allocations: 2.208 MB / 0.8297 GB, free: 9.367 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000805/1.16, allocations: 280.4 kB / 0.8299 GB, free: 9.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009096/1.169, allocations: 4.939 MB / 0.8347 GB, free: 4.078 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6e-05/1.17, allocations: 55.27 kB / 0.8348 GB, free: 4.027 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/1.17, allocations: 4 kB / 0.8348 GB, free: 4.023 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-05/1.17, allocations: 7.969 kB / 0.8348 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02383/1.193, allocations: 11.38 MB / 0.8459 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.59e-05/1.193, allocations: 8 kB / 0.8459 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/1.195, allocations: 407.4 kB / 0.8463 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003218/1.199, allocations: 0.9081 MB / 0.8472 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003586/1.199, allocations: 51.98 kB / 0.8473 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002716/1.202, allocations: 2.278 MB / 0.8495 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.517e-06/1.202, allocations: 16 kB / 0.8495 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/1.214, allocations: 7.35 MB / 0.8567 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000984/1.215, allocations: 325.4 kB / 0.857 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007385/1.216, allocations: 44 kB / 0.857 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/1.218, allocations: 135.8 kB / 0.8572 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004414/1.218, allocations: 164 kB / 0.8573 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002275/1.218, allocations: 75.98 kB / 0.8574 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004046/1.222, allocations: 1.673 MB / 0.859 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/1.222, allocations: 0 / 0.859 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006353/1.229, allocations: 0.9851 MB / 0.86 GB, free: 9.805 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * 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 (206): * Single equations (assignments): 197 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008706/1.23, allocations: 202.5 kB / 0.8602 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01127/1.241, allocations: 6.006 MB / 0.866 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.241, allocations: 8.188 kB / 0.866 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004551/1.245, allocations: 2.534 MB / 0.8685 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005339/1.251, allocations: 437.3 kB / 0.8689 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/1.273, allocations: 12.69 MB / 0.8813 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005574/1.278, allocations: 3.427 MB / 0.8847 GB, free: 324 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.2573/1.536, allocations: 2.047 MB / 0.8867 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007246/1.537, allocations: 230 kB / 0.8869 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of SimCode: time 9.31e-07/1.537, allocations: 0 / 0.8869 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.06027/1.597, allocations: 31.19 MB / 0.9174 GB, free: 125.7 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches