Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001023, allocations: 98.77 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001103, allocations: 200.5 kB / 17.89 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2416/0.2416, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002773/0.0002773, allocations: 8 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1392, allocations: 63.46 MB / 481.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.03706/0.1764, allocations: 35.99 MB / 0.5052 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3355/0.5119, allocations: 8.987 MB / 0.514 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009774/0.5217, allocations: 178.4 kB / 0.5142 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009619/0.5314, allocations: 1.829 MB / 0.516 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02156/0.553, allocations: 5.336 MB / 0.5212 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003072/0.5561, allocations: 488.2 kB / 0.5217 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005903/0.562, allocations: 2.333 MB / 0.5239 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007266/0.5693, allocations: 4.25 MB / 0.5281 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/0.5721, allocations: 1.022 MB / 0.5291 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003371/0.5755, allocations: 1.374 MB / 0.5304 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.5766, allocations: 155.9 kB / 0.5306 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.5794, allocations: 0.8837 MB / 0.5314 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002137/0.5815, allocations: 1.668 MB / 0.5331 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.5831, allocations: 0.9165 MB / 0.534 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007307/0.5904, allocations: 6.106 MB / 0.5399 GB, free: 3.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.5905, allocations: 4.078 kB / 0.5399 GB, free: 3.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.5905, allocations: 0 / 0.5399 GB, free: 3.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000352/0.5909, allocations: 0 / 0.5399 GB, free: 3.395 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.01209/0.603, allocations: 4.582 MB / 0.5444 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.603, allocations: 11.22 kB / 0.5444 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/0.6162, allocations: 3.874 MB / 0.5482 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007161/0.6234, allocations: 2.349 MB / 0.5505 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/0.6237, allocations: 266.5 kB / 0.5507 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002331/0.6261, allocations: 352.9 kB / 0.5511 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02792/0.654, allocations: 12.43 MB / 0.5632 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001595/0.6542, allocations: 27.72 kB / 0.5632 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006714/0.6549, allocations: 165.8 kB / 0.5634 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004481/0.6594, allocations: 2.692 MB / 0.566 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02497/0.6844, allocations: 11.39 MB / 0.5772 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07305/0.7575, allocations: 39.63 MB / 0.6159 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/0.7677, allocations: 4.961 MB / 0.6207 GB, free: 5.363 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01285/0.7806, allocations: 6.884 MB / 0.6274 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.7807, allocations: 52.56 kB / 0.6275 GB, free: 14.08 MB / 478.1 MB Notification: Performance of pre-optimization done (n=226): time 5.41e-06/0.7807, allocations: 0 / 0.6275 GB, free: 14.08 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.04132/0.822, allocations: 16.72 MB / 0.6438 GB, free: 13.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.8221, allocations: 81.36 kB / 0.6439 GB, free: 13.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006153/0.8282, allocations: 3.235 MB / 0.647 GB, free: 9.773 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005182/0.8288, allocations: 61.64 kB / 0.6471 GB, free: 9.707 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002465/0.8313, allocations: 3.227 MB / 0.6502 GB, free: 6.496 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001176/0.8325, allocations: 0.8887 MB / 0.6511 GB, free: 5.613 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005278/0.833, allocations: 112 kB / 0.6512 GB, free: 5.504 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003864/0.8334, allocations: 0.5583 MB / 0.6518 GB, free: 4.938 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003692/0.8371, allocations: 2.351 MB / 0.6541 GB, free: 2.582 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006348/0.8435, allocations: 5.638 MB / 0.6596 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005465/0.8489, allocations: 3.63 MB / 0.6631 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.852e-05/0.849, allocations: 32 kB / 0.6631 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.0173/0.8664, allocations: 8.788 MB / 0.6717 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002184/0.8666, allocations: 60.02 kB / 0.6718 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002913/0.8669, allocations: 116 kB / 0.6719 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004023/0.871, allocations: 1.156 MB / 0.673 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005198/0.8762, allocations: 1.349 MB / 0.6743 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.8867, allocations: 6.669 MB / 0.6809 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005633/0.8924, allocations: 330.2 kB / 0.6812 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001389/0.8938, allocations: 344 kB / 0.6815 GB, free: 4.566 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 527 * Number of states: 0 () * Number of discrete variables: 32 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (730): * Single equations (assignments): 722 * 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.006163/0.9, allocations: 2.371 MB / 0.6838 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008294/0.9008, allocations: 296.1 kB / 0.6841 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007532/0.9083, allocations: 4.394 MB / 0.6884 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.807e-05/0.9084, allocations: 43.98 kB / 0.6884 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.9084, allocations: 0 / 0.6884 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.9085, allocations: 7.969 kB / 0.6884 GB, free: 13.43 MB / 0.5294 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.02026/0.9287, allocations: 10.55 MB / 0.6987 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/0.9288, allocations: 16.03 kB / 0.6988 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/0.9305, allocations: 371.5 kB / 0.6991 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/0.9325, allocations: 0.6812 MB / 0.6998 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002294/0.9328, allocations: 47.98 kB / 0.6998 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002954/0.9357, allocations: 2.452 MB / 0.7022 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/0.9358, allocations: 11.94 kB / 0.7022 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/0.946, allocations: 7.2 MB / 0.7093 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.9471, allocations: 349.1 kB / 0.7096 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005535/0.9477, allocations: 43.98 kB / 0.7096 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.9491, allocations: 135.8 kB / 0.7098 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003031/0.9494, allocations: 144.2 kB / 0.7099 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/0.9496, allocations: 63.98 kB / 0.71 GB, free: 6.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003214/0.9528, allocations: 1.975 MB / 0.7119 GB, free: 4.848 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9528, allocations: 0 / 0.7119 GB, free: 4.848 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006091/0.9589, allocations: 1.073 MB / 0.7129 GB, free: 3.777 MB / 0.545 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 (187): * Single equations (assignments): 178 * 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.0007323/0.9596, allocations: 193.8 kB / 0.7131 GB, free: 3.582 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2698/1.23, allocations: 5.877 MB / 0.7189 GB, free: 164.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.811e-05/1.23, allocations: 1.25 kB / 0.7189 GB, free: 164.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004802/1.234, allocations: 2.39 MB / 0.7212 GB, free: 164 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/1.237, allocations: 425 kB / 0.7216 GB, free: 164 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02503/1.262, allocations: 13.25 MB / 0.7345 GB, free: 158.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005407/1.267, allocations: 3.78 MB / 0.7382 GB, free: 157.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004689/1.272, allocations: 2.018 MB / 0.7402 GB, free: 157.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007451/1.273, allocations: 237.5 kB / 0.7404 GB, free: 157.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.373e-06/1.273, allocations: 1.094 kB / 0.7404 GB, free: 157.5 MB / 0.545 GB Notification: Performance of Templates: time 0.0608/1.334, allocations: 34.94 MB / 0.7745 GB, free: 130.5 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches