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.001059/0.001059, allocations: 103 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00116/0.001161, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.4 MB, free: 9.102 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 46.11 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.00158, allocations: 77.09 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.12, allocations: 62.44 MB / 479.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.0314/0.1515, allocations: 34.52 MB / 0.5019 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2885/0.4401, allocations: 7.707 MB / 0.5095 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007787/0.4479, allocations: 146.6 kB / 0.5096 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004503/0.4525, allocations: 1.861 MB / 0.5114 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004884/0.4574, allocations: 1.519 MB / 0.5129 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.4589, allocations: 0.5705 MB / 0.5135 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005267/0.4642, allocations: 3.391 MB / 0.5168 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004379/0.4686, allocations: 2.721 MB / 0.5194 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.4707, allocations: 1.259 MB / 0.5207 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00282/0.4736, allocations: 1.865 MB / 0.5225 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000584/0.4742, allocations: 253.5 kB / 0.5227 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.4764, allocations: 1.031 MB / 0.5237 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001678/0.4781, allocations: 1.574 MB / 0.5253 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.4797, allocations: 1.835 MB / 0.5271 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006415/0.4862, allocations: 5.62 MB / 0.5326 GB, free: 2.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4862, allocations: 0 / 0.5326 GB, free: 2.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4862, allocations: 0 / 0.5326 GB, free: 2.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001728/0.4864, allocations: 4 kB / 0.5326 GB, free: 2.531 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.007571/0.494, allocations: 4.004 MB / 0.5365 GB, free: 15.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.494, allocations: 8.75 kB / 0.5365 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005798/0.4998, allocations: 1.77 MB / 0.5382 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/0.5033, allocations: 1.884 MB / 0.5401 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.5034, allocations: 188.9 kB / 0.5402 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003997/0.5038, allocations: 259 kB / 0.5405 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01524/0.519, allocations: 8.456 MB / 0.5487 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.671e-05/0.5192, allocations: 39.66 kB / 0.5488 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003483/0.5195, allocations: 129.4 kB / 0.5489 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002722/0.5223, allocations: 1.697 MB / 0.5506 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01372/0.536, allocations: 7.11 MB / 0.5575 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04977/0.5858, allocations: 34.16 MB / 0.5909 GB, free: 9.496 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007515/0.5934, allocations: 3.291 MB / 0.5941 GB, free: 6.051 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/0.5955, allocations: 1.466 MB / 0.5955 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007539/0.603, allocations: 4.443 MB / 0.5998 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.6031, allocations: 47.06 kB / 0.5999 GB, free: 15.87 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 3.366e-06/0.6031, allocations: 0 / 0.5999 GB, free: 15.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.02979/0.6329, allocations: 11.55 MB / 0.6112 GB, free: 4.176 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.633, allocations: 174.8 kB / 0.6113 GB, free: 3.969 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006286/0.6393, allocations: 3.709 MB / 0.615 GB, free: 272 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.6395, allocations: 45.7 kB / 0.615 GB, free: 220 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002092/0.6416, allocations: 2.748 MB / 0.6177 GB, free: 13.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007024/0.6423, allocations: 0.5196 MB / 0.6182 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001857/0.6442, allocations: 1.077 MB / 0.6192 GB, free: 11.87 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.6443, allocations: 309.1 kB / 0.6195 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00248/0.6468, allocations: 1.709 MB / 0.6212 GB, free: 9.848 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004822/0.6516, allocations: 5.135 MB / 0.6262 GB, free: 2.984 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008253/0.6599, allocations: 7.42 MB / 0.6335 GB, free: 9.855 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.417e-05/0.66, allocations: 39.94 kB / 0.6335 GB, free: 9.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.0113/0.6713, allocations: 6.741 MB / 0.6401 GB, free: 3.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.6715, allocations: 56 kB / 0.6401 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002364/0.6717, allocations: 120 kB / 0.6403 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000997/0.6727, allocations: 325.1 kB / 0.6406 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005377/0.6781, allocations: 1.244 MB / 0.6418 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003955/0.6821, allocations: 2.501 MB / 0.6442 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005396/0.6875, allocations: 291.5 kB / 0.6445 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008286/0.6883, allocations: 339.9 kB / 0.6448 GB, free: 14.07 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.00451/0.6929, allocations: 1.787 MB / 0.6466 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/0.694, allocations: 312 kB / 0.6469 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007123/0.7011, allocations: 2.367 MB / 0.6492 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.132e-05/0.7012, allocations: 18.19 kB / 0.6492 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/0.7012, allocations: 8 kB / 0.6492 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.7013, allocations: 3.984 kB / 0.6492 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/0.7179, allocations: 5.93 MB / 0.655 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.7179, allocations: 4.062 kB / 0.655 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.7192, allocations: 167.8 kB / 0.6552 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003104/0.7223, allocations: 0.7262 MB / 0.6559 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/0.7225, allocations: 24 kB / 0.6559 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008785/0.7313, allocations: 4.813 MB / 0.6606 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.7313, allocations: 4 kB / 0.6606 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.7416, allocations: 4.335 MB / 0.6648 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/0.7431, allocations: 357 kB / 0.6652 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/0.7442, allocations: 26.19 kB / 0.6652 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/0.746, allocations: 71.89 kB / 0.6653 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/0.7463, allocations: 76.5 kB / 0.6653 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.7464, allocations: 36 kB / 0.6654 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005306/0.7517, allocations: 2.323 MB / 0.6676 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7517, allocations: 0 / 0.6676 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006524/0.7582, allocations: 0.8068 MB / 0.6684 GB, free: 5.652 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.0006168/0.7589, allocations: 146.1 kB / 0.6686 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008358/0.7672, allocations: 4.424 MB / 0.6729 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.7673, allocations: 0 / 0.6729 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.7691, allocations: 1.12 MB / 0.674 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003656/0.7728, allocations: 401.6 kB / 0.6744 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/0.7911, allocations: 8.944 MB / 0.6831 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004702/0.7958, allocations: 2.777 MB / 0.6858 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004739/0.8006, allocations: 1.664 MB / 0.6874 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/0.8018, allocations: 211.4 kB / 0.6876 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of SimCode: time 1.573e-06/0.8018, allocations: 0 / 0.6876 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of Templates: time 0.3559/1.158, allocations: 30.89 MB / 0.7178 GB, free: 194 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches