Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") [: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 trunk/package.mo): time 0.001166/0.001166, allocations: 199.6 kB / 8.535 MB, free: 1.684 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 225.5 MB / 234.4 MB, free: 3.328 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009593/0.0009595, allocations: 90.2 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1943/0.1943, allocations: 45.15 MB / 383.4 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.134e-06/7.164e-06, allocations: 3.938 kB / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09838/0.0984, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3425/0.441, allocations: 116.8 MB / 0.6179 GB, free: 2.414 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.4412, allocations: 75.25 kB / 0.6179 GB, free: 2.379 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3242/0.7655, allocations: 123.2 MB / 0.7382 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000351/0.7659, allocations: 104 kB / 0.7383 GB, free: 15.05 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02102/0.7869, allocations: 5.587 MB / 0.7438 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.787, allocations: 8.031 kB / 0.7438 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02023/0.8072, allocations: 4.305 MB / 0.748 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.195/1.002, allocations: 5.729 MB / 0.7536 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004496/1.003, allocations: 261.7 kB / 0.7538 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002843/1.006, allocations: 322 kB / 0.7541 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01597/1.022, allocations: 8.725 MB / 0.7627 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02426/1.046, allocations: 12.31 MB / 0.7747 GB, free: 177.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000513/1.046, allocations: 61.31 kB / 0.7747 GB, free: 177.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003135/1.05, allocations: 37.19 kB / 0.7748 GB, free: 177.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002057/1.052, allocations: 1.377 MB / 0.7761 GB, free: 177.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06906/1.121, allocations: 58.79 MB / 0.8335 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004789/1.126, allocations: 3.874 MB / 0.8373 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003207/1.129, allocations: 2.933 MB / 0.8402 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01703/1.146, allocations: 12.58 MB / 0.8525 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/1.146, allocations: 55.5 kB / 0.8525 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=191): time 5.51e-06/1.146, allocations: 3.531 kB / 0.8525 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=242): time 0.07521/1.221, allocations: 30.56 MB / 0.8824 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/1.221, allocations: 231.6 kB / 0.8826 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004734/1.226, allocations: 3.703 MB / 0.8862 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004869/1.227, allocations: 29.7 kB / 0.8862 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001349/1.228, allocations: 3.655 MB / 0.8898 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007531/1.229, allocations: 0.8857 MB / 0.8907 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/1.229, allocations: 3.75 kB / 0.8907 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000277/1.229, allocations: 0.6219 MB / 0.8913 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003337/1.233, allocations: 3.153 MB / 0.8944 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004673/1.237, allocations: 7.557 MB / 0.9017 GB, free: 91.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004807/1.242, allocations: 4.799 MB / 0.9064 GB, free: 87.03 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.595e-05/1.242, allocations: 44 kB / 0.9065 GB, free: 86.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=968) (initialization): time 0.02321/1.265, allocations: 12.73 MB / 0.9189 GB, free: 76.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/1.265, allocations: 8.25 kB / 0.9189 GB, free: 76.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/1.266, allocations: 159.9 kB / 0.9191 GB, free: 76.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01125/1.277, allocations: 3.58 MB / 0.9225 GB, free: 73.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00557/1.283, allocations: 1.646 MB / 0.9242 GB, free: 72.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02087/1.303, allocations: 16.07 MB / 0.9398 GB, free: 58.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00746/1.311, allocations: 295.8 kB / 0.9401 GB, free: 58.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/1.312, allocations: 448.5 kB / 0.9406 GB, free: 57.67 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 716 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (885): * Single equations (assignments): 881 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009627/1.313, allocations: 492.8 kB / 0.941 GB, free: 57.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006317/1.314, allocations: 398.8 kB / 0.9414 GB, free: 56.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01609/1.33, allocations: 7.763 MB / 0.949 GB, free: 49.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.161e-05/1.33, allocations: 23.47 kB / 0.949 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.962e-05/1.33, allocations: 12 kB / 0.949 GB, free: 49.32 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.087e-05/1.33, allocations: 19.75 kB / 0.949 GB, free: 49.31 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03095/1.361, allocations: 15.94 MB / 0.9646 GB, free: 33.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.121e-05/1.361, allocations: 7.906 kB / 0.9646 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/1.363, allocations: 355.5 kB / 0.965 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01166/1.375, allocations: 3.503 MB / 0.9684 GB, free: 29.51 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005324/1.375, allocations: 4 kB / 0.9684 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01888/1.394, allocations: 14.68 MB / 0.9827 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.394, allocations: 4.062 kB / 0.9827 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02091/1.415, allocations: 12.24 MB / 0.9947 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/1.416, allocations: 427.8 kB / 0.9951 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008338/1.417, allocations: 4 kB / 0.9951 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002398/1.42, allocations: 115.9 kB / 0.9952 GB, free: 1.863 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004146/1.42, allocations: 109.7 kB / 0.9953 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002347/1.42, allocations: 59.98 kB / 0.9954 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.2005/1.621, allocations: 2.484 MB / 0.9978 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008088/1.629, allocations: 1.251 MB / 0.999 GB, free: 164.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007077/1.63, allocations: 185.3 kB / 0.9992 GB, free: 164 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01074/1.64, allocations: 7.51 MB / 1.007 GB, free: 163.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.64, allocations: 0 / 1.007 GB, free: 163.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003575/1.644, allocations: 2.81 MB / 1.009 GB, free: 163.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/1.647, allocations: 393.3 kB / 1.01 GB, free: 163.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01974/1.666, allocations: 10.74 MB / 1.02 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005361/1.672, allocations: 4.5 MB / 1.025 GB, free: 161.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.423e-06/1.672, allocations: 0 / 1.025 GB, free: 161.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.1019/1.774, allocations: 59.8 MB / 1.083 GB, free: 150.7 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches