Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002276/0.002281, allocations: 183.5 kB / 16.4 MB, free: 5.754 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.098/2.098, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001147/0.001147, allocations: 78.94 kB / 270.9 MB, free: 8.387 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.5133/0.5133, allocations: 43.56 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004803, allocations: 12 kB / 431.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1328, allocations: 58.84 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.3704/0.5033, allocations: 29.16 MB / 0.5072 GB, free: 29.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02045/0.5238, allocations: 7.526 MB / 0.5146 GB, free: 24.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006725/0.5305, allocations: 141.6 kB / 0.5147 GB, free: 24.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005464/0.536, allocations: 1.475 MB / 0.5161 GB, free: 24.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0166/0.5527, allocations: 4.432 MB / 0.5205 GB, free: 22.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.5555, allocations: 414.4 kB / 0.5209 GB, free: 22.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00531/0.5608, allocations: 2.131 MB / 0.5229 GB, free: 21.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006302/0.5672, allocations: 3.345 MB / 0.5262 GB, free: 19.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002022/0.5693, allocations: 0.9405 MB / 0.5271 GB, free: 19.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002511/0.5718, allocations: 1.297 MB / 0.5284 GB, free: 19.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008847/0.5727, allocations: 153.1 kB / 0.5285 GB, free: 19.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002718/0.5755, allocations: 0.8425 MB / 0.5294 GB, free: 18.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002267/0.5778, allocations: 1.527 MB / 0.5308 GB, free: 18.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.579, allocations: 0.8394 MB / 0.5317 GB, free: 17.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009109/0.5881, allocations: 5.598 MB / 0.5371 GB, free: 16.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5882, allocations: 0 / 0.5371 GB, free: 16.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.5882, allocations: 0 / 0.5371 GB, free: 16.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002918/0.5885, allocations: 3.062 kB / 0.5371 GB, free: 16.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.01485/0.6034, allocations: 4.15 MB / 0.5412 GB, free: 14.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.6034, allocations: 10.62 kB / 0.5412 GB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02348/0.6269, allocations: 3.799 MB / 0.5449 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007681/0.6346, allocations: 2.337 MB / 0.5472 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003626/0.635, allocations: 226.7 kB / 0.5474 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002133/0.6372, allocations: 296.6 kB / 0.5477 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03032/0.6675, allocations: 11.49 MB / 0.5589 GB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001725/0.6678, allocations: 35.72 kB / 0.5589 GB, free: 3.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001052/0.6688, allocations: 131.8 kB / 0.5591 GB, free: 3.402 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006771/0.6756, allocations: 2.636 MB / 0.5616 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03401/0.7097, allocations: 10.73 MB / 0.5721 GB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08815/0.7979, allocations: 36.53 MB / 0.6078 GB, free: 0.668 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01422/0.8122, allocations: 4.404 MB / 0.6121 GB, free: 12.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002111/0.8143, allocations: 1.315 MB / 0.6134 GB, free: 10.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.359e-05/0.8145, allocations: 52.56 kB / 0.6134 GB, free: 10.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=244): time 6.613e-06/0.8145, allocations: 0 / 0.6134 GB, free: 10.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=265): time 0.09992/0.9144, allocations: 14.5 MB / 0.6276 GB, free: 11.78 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.9145, allocations: 73.41 kB / 0.6277 GB, free: 11.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006865/0.9214, allocations: 2.942 MB / 0.6305 GB, free: 8.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006298/0.9221, allocations: 65.69 kB / 0.6306 GB, free: 8.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003298/0.9254, allocations: 2.936 MB / 0.6335 GB, free: 5.684 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001855/0.9273, allocations: 0.9712 MB / 0.6344 GB, free: 4.699 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006809/0.928, allocations: 116 kB / 0.6345 GB, free: 4.586 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006484/0.9287, allocations: 0.5628 MB / 0.6351 GB, free: 4.012 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006898/0.9356, allocations: 2.334 MB / 0.6374 GB, free: 1.672 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01054/0.9462, allocations: 5.486 MB / 0.6427 GB, free: 10.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00974/0.956, allocations: 3.599 MB / 0.6462 GB, free: 7.039 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/0.9562, allocations: 35.95 kB / 0.6463 GB, free: 7.004 MB / 474.7 MB Notification: Performance of matching and sorting (n=776) (initialization): time 0.029/0.9852, allocations: 8.491 MB / 0.6546 GB, free: 14.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.9854, allocations: 52 kB / 0.6546 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001868/0.9856, allocations: 111.9 kB / 0.6547 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006818/0.9924, allocations: 1.056 MB / 0.6557 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008939/1.001, allocations: 1.333 MB / 0.657 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004858/1.006, allocations: 2.51 MB / 0.6595 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005888/1.012, allocations: 323.7 kB / 0.6598 GB, free: 8.961 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/1.014, allocations: 340 kB / 0.6601 GB, free: 8.629 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 24 (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.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 (723): * Single equations (assignments): 714 * 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.007039/1.021, allocations: 2.266 MB / 0.6623 GB, free: 6.348 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007976/1.022, allocations: 288.2 kB / 0.6626 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01794/1.04, allocations: 5.078 MB / 0.6676 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001272/1.04, allocations: 43.98 kB / 0.6676 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/1.04, allocations: 3.938 kB / 0.6676 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.845e-05/1.04, allocations: 11.95 kB / 0.6676 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03754/1.077, allocations: 11.57 MB / 0.6789 GB, free: 5.109 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-05/1.077, allocations: 12.22 kB / 0.6789 GB, free: 5.098 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003976/1.081, allocations: 419.4 kB / 0.6793 GB, free: 4.688 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006401/1.088, allocations: 0.915 MB / 0.6802 GB, free: 3.762 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006672/1.089, allocations: 63.97 kB / 0.6803 GB, free: 3.699 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004464/1.093, allocations: 2.295 MB / 0.6825 GB, free: 1.27 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.618e-05/1.093, allocations: 15.94 kB / 0.6825 GB, free: 1.254 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3551/1.448, allocations: 8.152 MB / 0.6905 GB, free: 150.2 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009337/1.449, allocations: 342.2 kB / 0.6908 GB, free: 150.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/1.45, allocations: 54.7 kB / 0.6909 GB, free: 150.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002769/1.453, allocations: 143.1 kB / 0.691 GB, free: 150.1 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007232/1.454, allocations: 157.1 kB / 0.6912 GB, free: 150.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002951/1.454, allocations: 79.19 kB / 0.6912 GB, free: 150.1 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004192/1.458, allocations: 1.806 MB / 0.693 GB, free: 149.9 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.82e-07/1.458, allocations: 0 / 0.693 GB, free: 149.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006838/1.465, allocations: 1.024 MB / 0.694 GB, free: 149.8 MB / 0.4949 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 (216): * Single equations (assignments): 207 * 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.001147/1.467, allocations: 211.2 kB / 0.6942 GB, free: 149.6 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01608/1.483, allocations: 6.153 MB / 0.7002 GB, free: 147.5 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/1.483, allocations: 0 / 0.7002 GB, free: 147.5 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.008164/1.491, allocations: 2.599 MB / 0.7028 GB, free: 146.6 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/1.494, allocations: 395.2 kB / 0.7031 GB, free: 146.4 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03055/1.525, allocations: 13.51 MB / 0.7163 GB, free: 139.4 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008563/1.534, allocations: 3.606 MB / 0.7198 GB, free: 138 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002146/1.536, allocations: 299 kB / 0.7201 GB, free: 138 MB / 0.4949 GB Notification: Performance of SimCode: time 1.383e-06/1.536, allocations: 0 / 0.7201 GB, free: 138 MB / 0.4949 GB Notification: Performance of Templates: time 0.1963/1.732, allocations: 115.1 MB / 0.8325 GB, free: 37.52 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches