Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_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.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_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.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001592/0.001596, allocations: 182.8 kB / 16.4 MB, free: 5.75 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.016/2.016, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001155/0.001155, allocations: 93.73 kB / 270.9 MB, free: 8.355 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.5201/0.5201, allocations: 43.56 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004734, allocations: 8 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1477, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.3651/0.5129, allocations: 36.32 MB / 0.5142 GB, free: 24.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.031/0.544, allocations: 9.046 MB / 0.523 GB, free: 18.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01079/0.5548, allocations: 174.2 kB / 0.5232 GB, free: 18.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008556/0.5635, allocations: 1.827 MB / 0.525 GB, free: 17.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02656/0.5901, allocations: 5.374 MB / 0.5302 GB, free: 15.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004335/0.5945, allocations: 493.1 kB / 0.5307 GB, free: 15.24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007821/0.6024, allocations: 2.354 MB / 0.533 GB, free: 14.19 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01119/0.6136, allocations: 4.287 MB / 0.5372 GB, free: 12.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003293/0.617, allocations: 1.057 MB / 0.5382 GB, free: 12.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004275/0.6213, allocations: 1.429 MB / 0.5396 GB, free: 11.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001652/0.623, allocations: 166.8 kB / 0.5398 GB, free: 11.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004156/0.6272, allocations: 0.8958 MB / 0.5406 GB, free: 11.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003982/0.6313, allocations: 1.711 MB / 0.5423 GB, free: 10.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002854/0.6342, allocations: 0.9481 MB / 0.5432 GB, free: 10.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0151/0.6494, allocations: 6.336 MB / 0.5494 GB, free: 8.031 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.6494, allocations: 4 kB / 0.5494 GB, free: 8.027 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.6495, allocations: 1.312 kB / 0.5494 GB, free: 8.027 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004076/0.6499, allocations: 0 / 0.5494 GB, free: 8.027 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02417/0.6741, allocations: 4.563 MB / 0.5539 GB, free: 4.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.6741, allocations: 9.062 kB / 0.5539 GB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03056/0.7047, allocations: 3.859 MB / 0.5577 GB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008454/0.7132, allocations: 2.548 MB / 0.5602 GB, free: 1.406 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003209/0.7136, allocations: 270.7 kB / 0.5604 GB, free: 1.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002382/0.716, allocations: 354.9 kB / 0.5608 GB, free: 1.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03844/0.7545, allocations: 12.74 MB / 0.5732 GB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002317/0.7548, allocations: 31.66 kB / 0.5732 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002215/0.757, allocations: 163.8 kB / 0.5734 GB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00845/0.7655, allocations: 2.77 MB / 0.5761 GB, free: 1.871 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03996/0.8055, allocations: 11.67 MB / 0.5875 GB, free: 6.184 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1007/0.9062, allocations: 40.58 MB / 0.6271 GB, free: 12.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01828/0.9245, allocations: 5.07 MB / 0.6321 GB, free: 7.398 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01903/0.9436, allocations: 6.889 MB / 0.6388 GB, free: 148 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.653e-05/0.9438, allocations: 48.56 kB / 0.6388 GB, free: 92 kB / 458.7 MB Notification: Performance of pre-optimization done (n=235): time 1.132e-05/0.9438, allocations: 7.984 kB / 0.6389 GB, free: 84 kB / 458.7 MB Notification: Performance of matching and sorting (n=244): time 0.07175/1.016, allocations: 17.03 MB / 0.6555 GB, free: 14.78 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/1.016, allocations: 73.41 kB / 0.6556 GB, free: 14.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007494/1.023, allocations: 3.316 MB / 0.6588 GB, free: 11.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006127/1.024, allocations: 57.7 kB / 0.6588 GB, free: 11.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003713/1.028, allocations: 3.284 MB / 0.6621 GB, free: 7.973 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001795/1.029, allocations: 0.9175 MB / 0.663 GB, free: 7.043 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007167/1.03, allocations: 124 kB / 0.6631 GB, free: 6.922 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005986/1.031, allocations: 0.5712 MB / 0.6636 GB, free: 6.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006803/1.038, allocations: 2.405 MB / 0.666 GB, free: 3.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01064/1.048, allocations: 5.78 MB / 0.6716 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009649/1.058, allocations: 3.713 MB / 0.6752 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.576e-05/1.058, allocations: 32 kB / 0.6753 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.3929/1.451, allocations: 8.893 MB / 0.684 GB, free: 146 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002026/1.451, allocations: 53.34 kB / 0.684 GB, free: 146 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003304/1.452, allocations: 119.3 kB / 0.6841 GB, free: 146 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006757/1.458, allocations: 1.148 MB / 0.6852 GB, free: 146 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009209/1.468, allocations: 1.39 MB / 0.6866 GB, free: 146 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009779/1.477, allocations: 4.651 MB / 0.6911 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006708/1.484, allocations: 340 kB / 0.6915 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001334/1.486, allocations: 357.1 kB / 0.6918 GB, free: 144.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],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 (752): * Single equations (assignments): 744 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.00722/1.493, allocations: 2.428 MB / 0.6942 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007352/1.494, allocations: 302.6 kB / 0.6945 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/1.507, allocations: 4.501 MB / 0.6989 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001078/1.507, allocations: 43.28 kB / 0.6989 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/1.507, allocations: 3.281 kB / 0.6989 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.822e-05/1.507, allocations: 8.016 kB / 0.6989 GB, free: 143.6 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02999/1.537, allocations: 10.78 MB / 0.7094 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/1.537, allocations: 9.469 kB / 0.7095 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003607/1.541, allocations: 393.1 kB / 0.7098 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003525/1.544, allocations: 0.6798 MB / 0.7105 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005945/1.545, allocations: 50.89 kB / 0.7105 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003897/1.549, allocations: 2.456 MB / 0.7129 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/1.549, allocations: 10.78 kB / 0.7129 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/1.566, allocations: 7.35 MB / 0.7201 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.567, allocations: 359.7 kB / 0.7205 GB, free: 135 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00127/1.569, allocations: 49.34 kB / 0.7205 GB, free: 135 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/1.572, allocations: 136.2 kB / 0.7206 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007116/1.572, allocations: 138.4 kB / 0.7208 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002832/1.573, allocations: 68.56 kB / 0.7208 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006307/1.579, allocations: 2.024 MB / 0.7228 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.32e-07/1.579, allocations: 0 / 0.7228 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009295/1.588, allocations: 1.099 MB / 0.7239 GB, free: 134.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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,body.w_a[1],body.w_a[2],body.w_a[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 (197): * Single equations (assignments): 188 * 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.001159/1.59, allocations: 203.9 kB / 0.7241 GB, free: 134 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01495/1.605, allocations: 5.889 MB / 0.7298 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/1.605, allocations: 0 / 0.7298 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007558/1.612, allocations: 2.432 MB / 0.7322 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003957/1.616, allocations: 435.1 kB / 0.7326 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03155/1.648, allocations: 14.13 MB / 0.7464 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007612/1.656, allocations: 3.863 MB / 0.7502 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001925/1.658, allocations: 294.2 kB / 0.7505 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.693e-06/1.658, allocations: 0 / 0.7505 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.1929/1.851, allocations: 113.4 MB / 0.8612 GB, free: 6.945 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches