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.001274/0.001275, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 210 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1878/0.1878, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2903, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01016/0.3005, allocations: 10.24 MB / 0.5417 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006897/0.3075, allocations: 3.794 MB / 0.5454 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.3088, allocations: 59.31 kB / 0.5454 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003387/0.3122, allocations: 1.938 MB / 0.5473 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003615/0.3158, allocations: 1.672 MB / 0.5489 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.3171, allocations: 0.616 MB / 0.5495 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003755/0.3209, allocations: 3.365 MB / 0.5528 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002459/0.3233, allocations: 2.579 MB / 0.5553 GB, free: 9.336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.3248, allocations: 1.234 MB / 0.5566 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.3265, allocations: 1.666 MB / 0.5582 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003877/0.3269, allocations: 252 kB / 0.5584 GB, free: 6.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.3285, allocations: 1.026 MB / 0.5594 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.3297, allocations: 1.562 MB / 0.5609 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.3312, allocations: 1.809 MB / 0.5627 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00509/0.3363, allocations: 5.783 MB / 0.5684 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3363, allocations: 0 / 0.5684 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3363, allocations: 0 / 0.5684 GB, free: 11.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.369e-05/0.3364, allocations: 0 / 0.5684 GB, free: 11.96 MB / 430.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.006119/0.3425, allocations: 3.995 MB / 0.5723 GB, free: 7.902 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.3426, allocations: 12.03 kB / 0.5723 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005451/0.3481, allocations: 1.778 MB / 0.574 GB, free: 6.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003433/0.3515, allocations: 1.912 MB / 0.5759 GB, free: 4.133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.3517, allocations: 189.2 kB / 0.5761 GB, free: 3.945 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004415/0.3521, allocations: 259.7 kB / 0.5763 GB, free: 3.691 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01179/0.3639, allocations: 8.455 MB / 0.5846 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.528e-05/0.364, allocations: 35.66 kB / 0.5846 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003001/0.3644, allocations: 127.8 kB / 0.5847 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00235/0.3667, allocations: 1.699 MB / 0.5864 GB, free: 8.703 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01162/0.3783, allocations: 7.11 MB / 0.5933 GB, free: 1.582 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0343/0.4127, allocations: 34.01 MB / 0.6265 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006487/0.4192, allocations: 3.31 MB / 0.6298 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.421, allocations: 1.467 MB / 0.6312 GB, free: 9.633 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005635/0.4266, allocations: 4.444 MB / 0.6355 GB, free: 4.965 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.4267, allocations: 43.06 kB / 0.6356 GB, free: 4.914 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 3.136e-06/0.4267, allocations: 4 kB / 0.6356 GB, free: 4.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.02478/0.4515, allocations: 11.55 MB / 0.6469 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/0.4516, allocations: 174.8 kB / 0.647 GB, free: 9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004295/0.4559, allocations: 3.713 MB / 0.6507 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001638/0.4561, allocations: 45.69 kB / 0.6507 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001585/0.4577, allocations: 2.744 MB / 0.6534 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004515/0.4581, allocations: 0.517 MB / 0.6539 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.4593, allocations: 1.083 MB / 0.6549 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.658e-05/0.4594, allocations: 313 kB / 0.6552 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/0.4616, allocations: 1.709 MB / 0.6569 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003994/0.4656, allocations: 5.131 MB / 0.6619 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007185/0.4728, allocations: 7.429 MB / 0.6692 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.101e-05/0.4729, allocations: 36 kB / 0.6692 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009806/0.4827, allocations: 6.725 MB / 0.6758 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.673e-05/0.4828, allocations: 59.94 kB / 0.6758 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.764e-05/0.4829, allocations: 120 kB / 0.676 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005503/0.4834, allocations: 325.7 kB / 0.6763 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003341/0.4868, allocations: 1.248 MB / 0.6775 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.4891, allocations: 2.494 MB / 0.6799 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/0.4923, allocations: 295.5 kB / 0.6802 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005297/0.4929, allocations: 332 kB / 0.6805 GB, free: 3.055 MB / 0.5294 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.002341/0.4952, allocations: 1.79 MB / 0.6823 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004844/0.4957, allocations: 315.9 kB / 0.6826 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004147/0.4999, allocations: 2.374 MB / 0.6849 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/0.4999, allocations: 16 kB / 0.6849 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.4999, allocations: 4 kB / 0.6849 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.5, allocations: 7.969 kB / 0.6849 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009896/0.5099, allocations: 5.906 MB / 0.6907 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.5099, allocations: 0 / 0.6907 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007518/0.5107, allocations: 187.7 kB / 0.6909 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/0.5126, allocations: 0.7146 MB / 0.6916 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.5127, allocations: 20 kB / 0.6916 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005316/0.518, allocations: 4.809 MB / 0.6963 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.518, allocations: 7.984 kB / 0.6963 GB, free: 2.664 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006055/0.5241, allocations: 4.333 MB / 0.7005 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007681/0.5249, allocations: 364.9 kB / 0.7009 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/0.5251, allocations: 20 kB / 0.7009 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009438/0.5261, allocations: 79.89 kB / 0.701 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.5263, allocations: 64.52 kB / 0.701 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-05/0.5264, allocations: 39.98 kB / 0.7011 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003015/0.5294, allocations: 2.319 MB / 0.7033 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5294, allocations: 0 / 0.7033 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003547/0.533, allocations: 0.8008 MB / 0.7041 GB, free: 10.61 MB / 0.5606 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.0003176/0.5333, allocations: 159 kB / 0.7042 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005507/0.5388, allocations: 4.049 MB / 0.7082 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5388, allocations: 0 / 0.7082 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.5402, allocations: 1.113 MB / 0.7093 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.5422, allocations: 404.5 kB / 0.7097 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.5528, allocations: 7.642 MB / 0.7171 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002399/0.5553, allocations: 2.777 MB / 0.7199 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007604/0.556, allocations: 251.4 kB / 0.7201 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.556, allocations: 0 / 0.7201 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.2928/0.8489, allocations: 64.31 MB / 0.7829 GB, free: 135.2 MB / 0.5762 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