Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [: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.001312/0.001312, allocations: 199.9 kB / 8.538 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.157/1.157, allocations: 225.5 MB / 234.4 MB, free: 3.379 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000898/0.000898, allocations: 91.89 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.1654/0.1654, allocations: 45.15 MB / 383.3 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.963e-06/6.993e-06, allocations: 0 / 452.6 MB, free: 76.17 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.102, allocations: 63.24 MB / 0.5038 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3822/0.4843, allocations: 109.6 MB / 0.6108 GB, free: 9.523 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/0.4847, allocations: 77.19 kB / 0.6109 GB, free: 9.488 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.239/0.7237, allocations: 72.57 MB / 0.6818 GB, free: 9.242 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001608/0.7239, allocations: 72 kB / 0.6818 GB, free: 9.172 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01123/0.7351, allocations: 3.377 MB / 0.6851 GB, free: 5.734 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.7352, allocations: 8.031 kB / 0.6851 GB, free: 5.727 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008577/0.7438, allocations: 1.707 MB / 0.6868 GB, free: 4.012 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009705/0.7535, allocations: 3.44 MB / 0.6902 GB, free: 0.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.7537, allocations: 112 kB / 0.6903 GB, free: 400 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/0.755, allocations: 204 kB / 0.6905 GB, free: 196 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01003/0.765, allocations: 5.28 MB / 0.6956 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/0.7805, allocations: 8.196 MB / 0.7036 GB, free: 1.727 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001336/0.7806, allocations: 47.56 kB / 0.7037 GB, free: 1.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004509/0.7811, allocations: 39.91 kB / 0.7037 GB, free: 1.641 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001152/0.7823, allocations: 0.9382 MB / 0.7046 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04089/0.8232, allocations: 41.92 MB / 0.7456 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.8262, allocations: 2.571 MB / 0.7481 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.828, allocations: 1.557 MB / 0.7496 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1985/1.027, allocations: 5.496 MB / 0.755 GB, free: 206 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/1.027, allocations: 46.34 kB / 0.755 GB, free: 205.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=121): time 4.218e-06/1.027, allocations: 0 / 0.755 GB, free: 205.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130): time 0.01939/1.046, allocations: 10.79 MB / 0.7656 GB, free: 203.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/1.046, allocations: 169 kB / 0.7657 GB, free: 203.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004183/1.05, allocations: 2.856 MB / 0.7685 GB, free: 203.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001757/1.051, allocations: 29.45 kB / 0.7685 GB, free: 203.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/1.052, allocations: 2.63 MB / 0.7711 GB, free: 201.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004531/1.052, allocations: 0.51 MB / 0.7716 GB, free: 201.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/1.053, allocations: 0 / 0.7716 GB, free: 201.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002671/1.053, allocations: 0.5385 MB / 0.7721 GB, free: 201.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/1.055, allocations: 1.638 MB / 0.7737 GB, free: 201.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003508/1.058, allocations: 5.165 MB / 0.7788 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003375/1.062, allocations: 2.91 MB / 0.7816 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.453e-05/1.062, allocations: 35.97 kB / 0.7816 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=719) (initialization): time 0.008433/1.07, allocations: 6.063 MB / 0.7876 GB, free: 196 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.07, allocations: 3.969 kB / 0.7876 GB, free: 196 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001336/1.07, allocations: 126.8 kB / 0.7877 GB, free: 196 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006384/1.071, allocations: 347.5 kB / 0.788 GB, free: 196 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004381/1.075, allocations: 1.302 MB / 0.7893 GB, free: 195.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/1.078, allocations: 2.188 MB / 0.7914 GB, free: 194.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004306/1.082, allocations: 172.7 kB / 0.7916 GB, free: 194.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005264/1.083, allocations: 350.7 kB / 0.7919 GB, free: 194.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (691): * Single equations (assignments): 687 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006399/1.083, allocations: 422.9 kB / 0.7923 GB, free: 194.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004227/1.084, allocations: 286.3 kB / 0.7926 GB, free: 194 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004128/1.088, allocations: 2.223 MB / 0.7948 GB, free: 193.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.151e-05/1.088, allocations: 14 kB / 0.7948 GB, free: 193.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.088, allocations: 3.719 kB / 0.7948 GB, free: 193.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.088, allocations: 3.844 kB / 0.7948 GB, free: 193.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009609/1.098, allocations: 5.29 MB / 0.8 GB, free: 191.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/1.098, allocations: 3.938 kB / 0.8 GB, free: 191.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008742/1.099, allocations: 166.4 kB / 0.8001 GB, free: 191.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00202/1.101, allocations: 0.6527 MB / 0.8008 GB, free: 191.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/1.101, allocations: 7.312 kB / 0.8008 GB, free: 191.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004581/1.105, allocations: 4.212 MB / 0.8049 GB, free: 189.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.105, allocations: 0 / 0.8049 GB, free: 189.3 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006315/1.112, allocations: 4.371 MB / 0.8092 GB, free: 187.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/1.113, allocations: 339.7 kB / 0.8095 GB, free: 187.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003808/1.113, allocations: 5.969 kB / 0.8095 GB, free: 187.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/1.114, allocations: 36.52 kB / 0.8095 GB, free: 187.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/1.115, allocations: 57.48 kB / 0.8096 GB, free: 187.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/1.115, allocations: 34.16 kB / 0.8096 GB, free: 187.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.004011/1.119, allocations: 1.897 MB / 0.8115 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005934/1.125, allocations: 0.7082 MB / 0.8121 GB, free: 186.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005312/1.125, allocations: 143.2 kB / 0.8123 GB, free: 186.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006237/1.131, allocations: 3.88 MB / 0.8161 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.132, allocations: 7.828 kB / 0.8161 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/1.133, allocations: 1.08 MB / 0.8171 GB, free: 182.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/1.135, allocations: 288 kB / 0.8174 GB, free: 182 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/1.15, allocations: 5.967 MB / 0.8232 GB, free: 176.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003727/1.154, allocations: 3.098 MB / 0.8263 GB, free: 174.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.583e-06/1.154, allocations: 0 / 0.8263 GB, free: 174.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.05861/1.213, allocations: 28.41 MB / 0.854 GB, free: 154.4 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches