Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001161, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008238/0.0008236, allocations: 82.62 kB / 267 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3326/0.3326, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.721e-05/4.724e-05, allocations: 4 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1183, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3879/0.5062, allocations: 107.5 MB / 0.5778 GB, free: 14.42 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001733/0.5065, allocations: 75.78 kB / 0.5779 GB, free: 14.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1811/0.6876, allocations: 73.32 MB / 0.6495 GB, free: 13.84 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6876, allocations: 0 / 0.6495 GB, free: 13.84 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.00017/0.6878, allocations: 68 kB / 0.6496 GB, free: 13.77 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.0108/0.6986, allocations: 3.391 MB / 0.6529 GB, free: 10.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.6987, allocations: 12.03 kB / 0.6529 GB, free: 10.31 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009452/0.7081, allocations: 2.097 MB / 0.6549 GB, free: 8.203 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/0.719, allocations: 4.085 MB / 0.6589 GB, free: 4.055 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002755/0.7193, allocations: 268.3 kB / 0.6592 GB, free: 3.793 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00165/0.721, allocations: 351.8 kB / 0.6595 GB, free: 3.449 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01714/0.7381, allocations: 8.933 MB / 0.6682 GB, free: 9.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001396/0.7383, allocations: 55.52 kB / 0.6683 GB, free: 9.465 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005884/0.7389, allocations: 183.9 kB / 0.6685 GB, free: 9.285 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001147/0.74, allocations: 0.8838 MB / 0.6693 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/0.7538, allocations: 7.169 MB / 0.6763 GB, free: 1.227 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3355/1.089, allocations: 42.97 MB / 0.7183 GB, free: 76.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006603/1.096, allocations: 3.283 MB / 0.7215 GB, free: 75.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/1.098, allocations: 1.442 MB / 0.7229 GB, free: 75.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006483/1.104, allocations: 4.428 MB / 0.7272 GB, free: 74.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/1.104, allocations: 44.19 kB / 0.7273 GB, free: 74.03 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=121): time 3.567e-06/1.104, allocations: 1.938 kB / 0.7273 GB, free: 74.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=129): time 0.02195/1.126, allocations: 9.657 MB / 0.7367 GB, free: 71.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/1.126, allocations: 168.6 kB / 0.7369 GB, free: 71.35 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004662/1.131, allocations: 3.306 MB / 0.7401 GB, free: 71.03 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003803/1.132, allocations: 44.22 kB / 0.7401 GB, free: 71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00145/1.133, allocations: 2.755 MB / 0.7428 GB, free: 69.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005832/1.134, allocations: 0.5239 MB / 0.7433 GB, free: 69.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/1.134, allocations: 105.2 kB / 0.7434 GB, free: 69.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002261/1.134, allocations: 0.5288 MB / 0.744 GB, free: 69.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/1.136, allocations: 1.647 MB / 0.7456 GB, free: 69.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003502/1.14, allocations: 5.049 MB / 0.7505 GB, free: 64.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00396/1.144, allocations: 2.875 MB / 0.7533 GB, free: 64.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/1.144, allocations: 34.97 kB / 0.7533 GB, free: 64.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01093/1.155, allocations: 6.613 MB / 0.7598 GB, free: 63.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/1.155, allocations: 58.22 kB / 0.7599 GB, free: 63.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001907/1.155, allocations: 122.5 kB / 0.76 GB, free: 63.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006605/1.156, allocations: 337 kB / 0.7603 GB, free: 63.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004682/1.16, allocations: 1.28 MB / 0.7615 GB, free: 63.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/1.163, allocations: 2.304 MB / 0.7638 GB, free: 62.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005061/1.168, allocations: 294.4 kB / 0.7641 GB, free: 61.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/1.169, allocations: 330.2 kB / 0.7644 GB, free: 61.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * 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 (666): * Single equations (assignments): 662 * 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.001002/1.17, allocations: 0.5171 MB / 0.7649 GB, free: 61.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000939/1.171, allocations: 319.3 kB / 0.7652 GB, free: 61.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005141/1.176, allocations: 2.351 MB / 0.7675 GB, free: 60.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.505e-05/1.176, allocations: 18.78 kB / 0.7675 GB, free: 60.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/1.176, allocations: 5.172 kB / 0.7675 GB, free: 60.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/1.176, allocations: 4.875 kB / 0.7675 GB, free: 60.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/1.188, allocations: 5.943 MB / 0.7733 GB, free: 58.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/1.188, allocations: 1.312 kB / 0.7733 GB, free: 58.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007727/1.189, allocations: 175.2 kB / 0.7735 GB, free: 58.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00182/1.191, allocations: 0.7086 MB / 0.7742 GB, free: 58.28 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/1.191, allocations: 27.86 kB / 0.7742 GB, free: 58.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004727/1.195, allocations: 4.441 MB / 0.7785 GB, free: 55.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.195, allocations: 3.562 kB / 0.7786 GB, free: 55.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00636/1.202, allocations: 4.416 MB / 0.7829 GB, free: 53.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/1.203, allocations: 0.5404 MB / 0.7834 GB, free: 53.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003662/1.204, allocations: 33.55 kB / 0.7834 GB, free: 53.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/1.205, allocations: 69.25 kB / 0.7835 GB, free: 53.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/1.205, allocations: 66.2 kB / 0.7836 GB, free: 53.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/1.205, allocations: 34.3 kB / 0.7836 GB, free: 53.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003386/1.209, allocations: 2.291 MB / 0.7858 GB, free: 52.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.71e-07/1.209, allocations: 0 / 0.7858 GB, free: 52.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0045/1.213, allocations: 0.8363 MB / 0.7866 GB, free: 52.54 MB / 0.4948 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 (96): * Single equations (assignments): 92 * 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.0003513/1.213, allocations: 160.4 kB / 0.7868 GB, free: 52.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005275/1.219, allocations: 3.952 MB / 0.7907 GB, free: 51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.219, allocations: 0 / 0.7907 GB, free: 51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/1.22, allocations: 1.102 MB / 0.7917 GB, free: 50.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/1.222, allocations: 359.8 kB / 0.7921 GB, free: 50.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/1.232, allocations: 5.916 MB / 0.7978 GB, free: 48.15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002334/1.235, allocations: 2.868 MB / 0.8006 GB, free: 46.98 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003793/1.238, allocations: 1.658 MB / 0.8023 GB, free: 46.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006791/1.239, allocations: 216.3 kB / 0.8025 GB, free: 46.84 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/1.239, allocations: 0 / 0.8025 GB, free: 46.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.04879/1.288, allocations: 29.14 MB / 0.8309 GB, free: 37.27 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches