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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.228/1.228, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007815/0.0007817, allocations: 99.33 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1888/0.1888, allocations: 45.15 MB / 383.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.684e-05/1.687e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4131/0.5201, allocations: 109.7 MB / 0.6115 GB, free: 9.141 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.5203, allocations: 72.53 kB / 0.6116 GB, free: 9.105 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1943/0.7147, allocations: 73.62 MB / 0.6835 GB, free: 7.605 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.7147, allocations: 0 / 0.6835 GB, free: 7.605 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002447/0.715, allocations: 71.98 kB / 0.6835 GB, free: 7.535 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.01281/0.7278, allocations: 3.412 MB / 0.6869 GB, free: 4.062 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.7279, allocations: 15.97 kB / 0.6869 GB, free: 4.047 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.7383, allocations: 2.085 MB / 0.6889 GB, free: 1.953 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01066/0.749, allocations: 3.417 MB / 0.6923 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.7493, allocations: 112 kB / 0.6924 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001834/0.7511, allocations: 203.9 kB / 0.6926 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01211/0.7633, allocations: 5.116 MB / 0.6975 GB, free: 9.043 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01828/0.7816, allocations: 8.056 MB / 0.7054 GB, free: 4 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001674/0.7818, allocations: 55.52 kB / 0.7055 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004469/0.7823, allocations: 28 kB / 0.7055 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001195/0.7835, allocations: 0.8878 MB / 0.7064 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04244/0.8259, allocations: 41.26 MB / 0.7467 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/0.829, allocations: 2.517 MB / 0.7491 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.8307, allocations: 1.391 MB / 0.7505 GB, free: 412 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.297/1.128, allocations: 0.6527 MB / 0.7511 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.508e-05/1.128, allocations: 50.19 kB / 0.7512 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=129): time 5.37e-06/1.128, allocations: 0.75 kB / 0.7512 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=138): time 0.02415/1.152, allocations: 12.21 MB / 0.7631 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/1.152, allocations: 200.5 kB / 0.7633 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006015/1.158, allocations: 2.796 MB / 0.766 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002958/1.158, allocations: 27.08 kB / 0.766 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002432/1.161, allocations: 2.795 MB / 0.7688 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007706/1.162, allocations: 0.5406 MB / 0.7693 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/1.162, allocations: 1.312 kB / 0.7693 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000378/1.162, allocations: 0.5413 MB / 0.7698 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002587/1.165, allocations: 1.613 MB / 0.7714 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003796/1.169, allocations: 5.139 MB / 0.7764 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/1.172, allocations: 2.862 MB / 0.7792 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.235e-05/1.172, allocations: 40.03 kB / 0.7792 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.008538/1.18, allocations: 6.06 MB / 0.7852 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.833e-05/1.18, allocations: 61.06 kB / 0.7852 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001392/1.18, allocations: 130.9 kB / 0.7853 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007822/1.181, allocations: 340 kB / 0.7857 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00444/1.186, allocations: 1.342 MB / 0.787 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/1.187, allocations: 2.21 MB / 0.7891 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003837/1.191, allocations: 188.5 kB / 0.7893 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004605/1.192, allocations: 350.9 kB / 0.7896 GB, free: 132.8 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 (697): * Single equations (assignments): 693 * 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.0005878/1.192, allocations: 427.5 kB / 0.7901 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003821/1.193, allocations: 283.9 kB / 0.7903 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/1.197, allocations: 2.303 MB / 0.7926 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/1.197, allocations: 15.31 kB / 0.7926 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.197, allocations: 3.875 kB / 0.7926 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/1.197, allocations: 14.78 kB / 0.7926 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00883/1.206, allocations: 5.725 MB / 0.7982 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.206, allocations: 3.047 kB / 0.7982 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008032/1.206, allocations: 186.5 kB / 0.7984 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/1.208, allocations: 0.7097 MB / 0.7991 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.303e-05/1.208, allocations: 3.5 kB / 0.7991 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004313/1.213, allocations: 4.291 MB / 0.8033 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/1.213, allocations: 7.812 kB / 0.8033 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005518/1.218, allocations: 4.463 MB / 0.8076 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008023/1.219, allocations: 338.2 kB / 0.808 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/1.219, allocations: 3.609 kB / 0.808 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009797/1.22, allocations: 53.8 kB / 0.808 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/1.22, allocations: 73.36 kB / 0.8081 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.525e-05/1.221, allocations: 42.72 kB / 0.8081 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002543/1.223, allocations: 1.855 MB / 0.8099 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.223, allocations: 0 / 0.8099 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004516/1.228, allocations: 0.7229 MB / 0.8106 GB, free: 124.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (104): * Single equations (assignments): 100 * 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.0004124/1.228, allocations: 151.2 kB / 0.8108 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005112/1.233, allocations: 3.813 MB / 0.8145 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.233, allocations: 4 kB / 0.8145 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/1.234, allocations: 1.106 MB / 0.8156 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/1.236, allocations: 296.3 kB / 0.8159 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/1.247, allocations: 5.895 MB / 0.8216 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003345/1.251, allocations: 2.867 MB / 0.8244 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004358/1.255, allocations: 1.737 MB / 0.8261 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006715/1.256, allocations: 199.1 kB / 0.8263 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/1.256, allocations: 0 / 0.8263 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.04417/1.3, allocations: 25.63 MB / 0.8513 GB, free: 101.7 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