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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 107.4 kB / 17.98 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001546/0.001546, allocations: 209.8 kB / 18.92 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.4 MB / 247.1 MB, free: 10.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4096/0.4096, allocations: 46.1 MB / 344.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001587, allocations: 76.84 kB / 417.7 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1128, allocations: 62.44 MB / 480.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.03226/0.1451, allocations: 34.49 MB / 0.5026 GB, free: 2.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2581/0.4033, allocations: 7.724 MB / 0.5101 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007403/0.4107, allocations: 148 kB / 0.5103 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004568/0.4154, allocations: 1.852 MB / 0.5121 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005157/0.4206, allocations: 1.53 MB / 0.5136 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.4226, allocations: 0.5728 MB / 0.5141 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00609/0.4287, allocations: 3.387 MB / 0.5174 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004563/0.4333, allocations: 2.724 MB / 0.5201 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002933/0.4363, allocations: 1.259 MB / 0.5213 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003374/0.4397, allocations: 1.865 MB / 0.5231 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001033/0.4408, allocations: 254 kB / 0.5234 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.4435, allocations: 1.035 MB / 0.5244 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002043/0.4456, allocations: 1.569 MB / 0.5259 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002525/0.4481, allocations: 1.834 MB / 0.5277 GB, free: 6.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005568/0.4537, allocations: 4.549 MB / 0.5322 GB, free: 3.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.4537, allocations: 0 / 0.5322 GB, free: 3.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4538, allocations: 0 / 0.5322 GB, free: 3.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002136/0.454, allocations: 0 / 0.5322 GB, free: 3.359 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.00964/0.4636, allocations: 3.994 MB / 0.5361 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.4637, allocations: 19.58 kB / 0.5361 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006672/0.4704, allocations: 1.769 MB / 0.5378 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004312/0.4747, allocations: 1.876 MB / 0.5396 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.4749, allocations: 189.5 kB / 0.5398 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/0.4761, allocations: 258.8 kB / 0.5401 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.4917, allocations: 8.461 MB / 0.5483 GB, free: 6.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001272/0.4919, allocations: 35.66 kB / 0.5484 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005072/0.4924, allocations: 119.4 kB / 0.5485 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0031/0.4955, allocations: 1.702 MB / 0.5501 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01445/0.51, allocations: 7.12 MB / 0.5571 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04443/0.5545, allocations: 34.15 MB / 0.5904 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00792/0.5625, allocations: 3.295 MB / 0.5937 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002257/0.5648, allocations: 1.469 MB / 0.5951 GB, free: 5.598 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007851/0.5726, allocations: 4.445 MB / 0.5994 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.5727, allocations: 43.06 kB / 0.5995 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 4.809e-06/0.5728, allocations: 0 / 0.5995 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.03304/0.6058, allocations: 11.56 MB / 0.6108 GB, free: 5.191 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.606, allocations: 170.8 kB / 0.6109 GB, free: 4.988 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007191/0.6132, allocations: 3.709 MB / 0.6146 GB, free: 1.285 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003202/0.6135, allocations: 41.7 kB / 0.6146 GB, free: 1.238 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002388/0.6159, allocations: 2.748 MB / 0.6173 GB, free: 14.49 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008602/0.6168, allocations: 0.5245 MB / 0.6178 GB, free: 13.97 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002577/0.6194, allocations: 1.083 MB / 0.6188 GB, free: 12.88 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.6195, allocations: 309 kB / 0.6191 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00297/0.6225, allocations: 1.709 MB / 0.6208 GB, free: 10.86 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005463/0.628, allocations: 5.128 MB / 0.6258 GB, free: 4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008859/0.6369, allocations: 7.418 MB / 0.6331 GB, free: 10.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001197/0.6371, allocations: 36 kB / 0.6331 GB, free: 10.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01359/0.6507, allocations: 6.738 MB / 0.6397 GB, free: 4.094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.864e-05/0.6508, allocations: 60.03 kB / 0.6397 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001414/0.651, allocations: 124 kB / 0.6399 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000694/0.6517, allocations: 316.6 kB / 0.6402 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004342/0.656, allocations: 1.252 MB / 0.6414 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002877/0.6589, allocations: 2.498 MB / 0.6438 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004356/0.6633, allocations: 287.5 kB / 0.6441 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001152/0.6645, allocations: 339.3 kB / 0.6444 GB, free: 15.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004441/0.669, allocations: 1.787 MB / 0.6462 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009002/0.6699, allocations: 308 kB / 0.6465 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005739/0.6756, allocations: 2.378 MB / 0.6488 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.163e-05/0.6757, allocations: 12 kB / 0.6488 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.6757, allocations: 4.469 kB / 0.6488 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/0.6758, allocations: 7.969 kB / 0.6488 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/0.6907, allocations: 5.924 MB / 0.6546 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/0.6907, allocations: 4 kB / 0.6546 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009526/0.6917, allocations: 175.8 kB / 0.6548 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002323/0.694, allocations: 0.7224 MB / 0.6555 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002141/0.6943, allocations: 26.56 kB / 0.6555 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0064/0.7007, allocations: 4.829 MB / 0.6602 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.7007, allocations: 4 kB / 0.6602 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007773/0.7085, allocations: 4.339 MB / 0.6644 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.7097, allocations: 357 kB / 0.6648 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000913/0.7106, allocations: 20 kB / 0.6648 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/0.7124, allocations: 71.89 kB / 0.6649 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003081/0.7128, allocations: 71.86 kB / 0.6649 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/0.7129, allocations: 36 kB / 0.665 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005347/0.7183, allocations: 2.327 MB / 0.6672 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.72e-07/0.7183, allocations: 0 / 0.6672 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006125/0.7244, allocations: 0.8085 MB / 0.668 GB, free: 6.664 MB / 0.5137 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006191/0.7251, allocations: 137.7 kB / 0.6682 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008859/0.734, allocations: 4.433 MB / 0.6725 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.904e-06/0.734, allocations: 4 kB / 0.6725 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002092/0.7361, allocations: 1.111 MB / 0.6736 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003807/0.74, allocations: 388.7 kB / 0.674 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/0.7583, allocations: 9.326 MB / 0.6831 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003636/0.762, allocations: 2.781 MB / 0.6858 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009633/0.763, allocations: 255.3 kB / 0.686 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of SimCode: time 1.493e-06/0.763, allocations: 0 / 0.686 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of Templates: time 0.3123/1.075, allocations: 63.74 MB / 0.7483 GB, free: 172.1 MB / 0.545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches