Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009442/0.0009444, allocations: 188.1 kB / 7.804 MB, free: 2.48 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.065/1.065, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0008119/0.0008119, allocations: 91.14 kB / 261.4 MB, free: 13.54 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.154/0.154, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.693e-06/6.703e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2211, allocations: 58.84 MB / 476.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.3384, allocations: 103.6 MB / 0.5665 GB, free: 11.41 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001557/0.3386, allocations: 75.97 kB / 0.5666 GB, free: 11.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3447/0.6833, allocations: 88.84 MB / 0.6534 GB, free: 109.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.173e-05/0.6834, allocations: 87.56 kB / 0.6535 GB, free: 109.3 MB / 474.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.009098/0.6925, allocations: 4.151 MB / 0.6575 GB, free: 107.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.6926, allocations: 7.094 kB / 0.6575 GB, free: 107.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/0.705, allocations: 2.851 MB / 0.6603 GB, free: 107.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/0.7154, allocations: 4.717 MB / 0.6649 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.7156, allocations: 142 kB / 0.665 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001298/0.7169, allocations: 258.1 kB / 0.6653 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009399/0.7263, allocations: 7.971 MB / 0.6731 GB, free: 106.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/0.7389, allocations: 10.38 MB / 0.6832 GB, free: 103.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000123/0.7391, allocations: 31.56 kB / 0.6832 GB, free: 103.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005356/0.7397, allocations: 14.28 kB / 0.6833 GB, free: 103.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001418/0.7411, allocations: 1.309 MB / 0.6845 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03984/0.7809, allocations: 35.27 MB / 0.719 GB, free: 82.51 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/0.7836, allocations: 2.67 MB / 0.7216 GB, free: 80.08 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001885/0.7855, allocations: 2.206 MB / 0.7237 GB, free: 78.06 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.7966, allocations: 9.482 MB / 0.733 GB, free: 69.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.7966, allocations: 48.52 kB / 0.733 GB, free: 69.28 MB / 474.7 MB Notification: Performance of pre-optimization done (n=213): time 3.737e-06/0.7966, allocations: 0 / 0.733 GB, free: 69.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=240): time 0.02019/0.8168, allocations: 10.36 MB / 0.7432 GB, free: 60.49 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.8169, allocations: 77.31 kB / 0.7432 GB, free: 60.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/0.8198, allocations: 2.663 MB / 0.7458 GB, free: 58.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.8199, allocations: 25.7 kB / 0.7459 GB, free: 58.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009192/0.8209, allocations: 3.009 MB / 0.7488 GB, free: 55.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004865/0.8214, allocations: 0.8865 MB / 0.7497 GB, free: 54.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.8216, allocations: 0 / 0.7497 GB, free: 54.12 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.8218, allocations: 0.5785 MB / 0.7502 GB, free: 53.53 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002368/0.8242, allocations: 2.406 MB / 0.7526 GB, free: 51.12 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003251/0.8274, allocations: 5.796 MB / 0.7582 GB, free: 43.63 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003421/0.8309, allocations: 3.81 MB / 0.762 GB, free: 39.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-05/0.8309, allocations: 36 kB / 0.762 GB, free: 39.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01072/0.8416, allocations: 8.251 MB / 0.77 GB, free: 31.53 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.8417, allocations: 4 kB / 0.7701 GB, free: 31.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.937e-05/0.8417, allocations: 123.8 kB / 0.7702 GB, free: 31.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003207/0.845, allocations: 0.938 MB / 0.7711 GB, free: 30.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00375/0.8487, allocations: 1.415 MB / 0.7725 GB, free: 29.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.8505, allocations: 2.363 MB / 0.7748 GB, free: 26.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003029/0.8535, allocations: 167.8 kB / 0.7749 GB, free: 26.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003807/0.8539, allocations: 371.9 kB / 0.7753 GB, free: 26.03 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 548 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (775): * Single equations (assignments): 766 * 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.0005329/0.8545, allocations: 420.5 kB / 0.7757 GB, free: 25.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.8548, allocations: 284.2 kB / 0.776 GB, free: 25.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006873/0.8616, allocations: 4.684 MB / 0.7805 GB, free: 20.63 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.025e-05/0.8617, allocations: 36 kB / 0.7806 GB, free: 20.59 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.8617, allocations: 3.906 kB / 0.7806 GB, free: 20.59 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.8617, allocations: 11.95 kB / 0.7806 GB, free: 20.58 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/0.8746, allocations: 9.118 MB / 0.7895 GB, free: 11.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.8747, allocations: 0 / 0.7895 GB, free: 11.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/0.8763, allocations: 355.5 kB / 0.7898 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002839/0.8791, allocations: 0.7744 MB / 0.7906 GB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/0.8793, allocations: 23.97 kB / 0.7906 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/0.8809, allocations: 2.134 MB / 0.7927 GB, free: 8.039 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.8809, allocations: 4 kB / 0.7927 GB, free: 8.035 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008139/0.8891, allocations: 7.067 MB / 0.7996 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/0.8895, allocations: 341.2 kB / 0.7999 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004194/0.8899, allocations: 8 kB / 0.7999 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.8911, allocations: 59.91 kB / 0.8 GB, free: 480 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.8913, allocations: 105.7 kB / 0.8001 GB, free: 376 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001581/0.8914, allocations: 75.7 kB / 0.8002 GB, free: 304 kB / 474.7 MB Notification: Performance of sort global known variables: time 0.002122/0.8936, allocations: 1.753 MB / 0.8019 GB, free: 14.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003463/0.897, allocations: 0.8945 MB / 0.8027 GB, free: 13.64 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 184 * 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.0003484/0.8974, allocations: 159.1 kB / 0.8029 GB, free: 13.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008221/0.9056, allocations: 6.082 MB / 0.8088 GB, free: 7.383 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9056, allocations: 0 / 0.8088 GB, free: 7.383 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003777/0.9094, allocations: 2.446 MB / 0.8112 GB, free: 4.887 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.9106, allocations: 274.5 kB / 0.8115 GB, free: 4.633 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.9244, allocations: 9.032 MB / 0.8203 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004396/0.9288, allocations: 3.898 MB / 0.8241 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of SimCode: time 3.4e-07/0.9288, allocations: 0 / 0.8241 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of Templates: time 0.1726/1.101, allocations: 37.57 MB / 0.8608 GB, free: 172.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches