Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 200.7 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007955/0.0007958, allocations: 95.64 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4173/0.4173, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003623, allocations: 8 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4065, allocations: 62.96 MB / 0.5184 GB, free: 37.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.5575, allocations: 106.3 MB / 0.6222 GB, free: 14.98 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.5578, allocations: 83.95 kB / 0.6223 GB, free: 14.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4813/1.039, allocations: 89.93 MB / 0.7101 GB, free: 99.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.657e-06/1.039, allocations: 1.375 kB / 0.7101 GB, free: 99.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000358/1.04, allocations: 80.59 kB / 0.7102 GB, free: 99.42 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: 1672 * Number of variables: 1672 Notification: Performance of Generate backend data structure: time 0.02131/1.061, allocations: 4.351 MB / 0.7144 GB, free: 97.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.275e-05/1.061, allocations: 8.656 kB / 0.7145 GB, free: 97.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01638/1.077, allocations: 3.52 MB / 0.7179 GB, free: 97.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/1.089, allocations: 3.357 MB / 0.7212 GB, free: 96.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000519/1.09, allocations: 331.3 kB / 0.7215 GB, free: 96.56 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003855/1.094, allocations: 434.8 kB / 0.7219 GB, free: 96.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02837/1.122, allocations: 11.16 MB / 0.7328 GB, free: 92.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002915/1.122, allocations: 29.5 kB / 0.7328 GB, free: 92.69 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002422/1.125, allocations: 191.9 kB / 0.733 GB, free: 92.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001678/1.127, allocations: 1.218 MB / 0.7342 GB, free: 92.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01981/1.146, allocations: 10.73 MB / 0.7447 GB, free: 89.06 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05816/1.205, allocations: 37.13 MB / 0.7809 GB, free: 61.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007814/1.212, allocations: 4.561 MB / 0.7854 GB, free: 56.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002794/1.215, allocations: 2.201 MB / 0.7875 GB, free: 54.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009009/1.216, allocations: 1.313 MB / 0.7888 GB, free: 52.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/1.216, allocations: 56.59 kB / 0.7889 GB, free: 52.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 7.564e-06/1.216, allocations: 112 / 0.7889 GB, free: 52.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=247): time 0.03588/1.252, allocations: 13.56 MB / 0.8021 GB, free: 38.97 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/1.252, allocations: 77.34 kB / 0.8022 GB, free: 38.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005801/1.258, allocations: 2.755 MB / 0.8049 GB, free: 36.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004834/1.259, allocations: 61.38 kB / 0.8049 GB, free: 36.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/1.26, allocations: 2.884 MB / 0.8078 GB, free: 33.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001412/1.262, allocations: 0.9052 MB / 0.8086 GB, free: 32.26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005921/1.262, allocations: 115.7 kB / 0.8087 GB, free: 32.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005586/1.263, allocations: 0.5418 MB / 0.8093 GB, free: 31.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003552/1.267, allocations: 2.224 MB / 0.8114 GB, free: 29.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005197/1.272, allocations: 5.313 MB / 0.8166 GB, free: 22.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009103/1.281, allocations: 8.281 MB / 0.8247 GB, free: 12.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/1.281, allocations: 32 kB / 0.8248 GB, free: 12.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=744) (initialization): time 0.01582/1.297, allocations: 8.201 MB / 0.8328 GB, free: 4.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/1.297, allocations: 52 kB / 0.8328 GB, free: 4.449 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002002/1.297, allocations: 108.8 kB / 0.8329 GB, free: 4.344 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003712/1.301, allocations: 1.017 MB / 0.8339 GB, free: 3.316 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004361/1.305, allocations: 1.279 MB / 0.8352 GB, free: 2.035 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/1.308, allocations: 2.455 MB / 0.8376 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004658/1.313, allocations: 314.7 kB / 0.8379 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001514/1.314, allocations: 327.9 kB / 0.8382 GB, free: 14.82 MB / 0.4948 GB 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 (691): * Single equations (assignments): 682 * 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 {(3,100.0%),(2,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.00787/1.322, allocations: 2.227 MB / 0.8403 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/1.323, allocations: 276.3 kB / 0.8406 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/1.334, allocations: 4.771 MB / 0.8453 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.724e-05/1.334, allocations: 47.03 kB / 0.8453 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/1.334, allocations: 4 kB / 0.8453 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.512e-05/1.334, allocations: 11.91 kB / 0.8453 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0255/1.36, allocations: 11.25 MB / 0.8563 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.853e-05/1.36, allocations: 12 kB / 0.8563 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/1.362, allocations: 391.3 kB / 0.8567 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002695/1.364, allocations: 0.6149 MB / 0.8573 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003516/1.365, allocations: 51.98 kB / 0.8573 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002385/1.367, allocations: 2.061 MB / 0.8594 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/1.367, allocations: 11.94 kB / 0.8594 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01163/1.379, allocations: 6.808 MB / 0.866 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000959/1.38, allocations: 317.5 kB / 0.8663 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006912/1.38, allocations: 47.98 kB / 0.8664 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/1.382, allocations: 123.8 kB / 0.8665 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003856/1.383, allocations: 152.9 kB / 0.8666 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002044/1.383, allocations: 75.03 kB / 0.8667 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003815/1.387, allocations: 1.673 MB / 0.8683 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.387, allocations: 11.94 kB / 0.8684 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005554/1.392, allocations: 0.9726 MB / 0.8693 GB, free: 14.43 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * 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.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.w_rel_b_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.0006273/1.393, allocations: 197 kB / 0.8695 GB, free: 14.23 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:77:3-79:159:writable] Warning: Variable $DER.freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:74:3-76:159:writable] Warning: Variable $DER.freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01049/1.403, allocations: 5.824 MB / 0.8752 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/1.403, allocations: 8.125 kB / 0.8752 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004257/1.408, allocations: 2.319 MB / 0.8774 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00583/1.413, allocations: 426.7 kB / 0.8779 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2517/1.665, allocations: 12.63 MB / 0.8902 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004012/1.669, allocations: 3.444 MB / 0.8936 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00464/1.674, allocations: 2.02 MB / 0.8955 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006795/1.675, allocations: 225.2 kB / 0.8957 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of SimCode: time 9.91e-07/1.675, allocations: 0 / 0.8957 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.06801/1.743, allocations: 30.27 MB / 0.9253 GB, free: 129.5 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit2/FreeMotionScalarInit2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches