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.001075/0.001074, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008771/0.0008772, allocations: 94.28 kB / 261.8 MB, free: 1.68 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.1988/0.1988, allocations: 43.48 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.543e-05/1.54e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.458/0.5705, allocations: 106.9 MB / 0.5703 GB, free: 4.848 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.5708, allocations: 80.8 kB / 0.5704 GB, free: 4.809 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1932/0.764, allocations: 71.91 MB / 0.6406 GB, free: 5.027 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.7641, allocations: 3.938 kB / 0.6406 GB, free: 5.023 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002399/0.7643, allocations: 64 kB / 0.6407 GB, free: 4.961 MB / 442.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.01229/0.7767, allocations: 3.397 MB / 0.644 GB, free: 1.504 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.7767, allocations: 8.031 kB / 0.644 GB, free: 1.496 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009938/0.7867, allocations: 2.085 MB / 0.646 GB, free: 15.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01138/0.7981, allocations: 4.088 MB / 0.65 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/0.7984, allocations: 112 kB / 0.6501 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001893/0.8003, allocations: 207.9 kB / 0.6503 GB, free: 10.94 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0107/0.811, allocations: 5.116 MB / 0.6553 GB, free: 5.816 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01801/0.8291, allocations: 8.048 MB / 0.6632 GB, free: 12.78 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002992/0.8294, allocations: 55.5 kB / 0.6632 GB, free: 12.72 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001642/0.8311, allocations: 32 kB / 0.6633 GB, free: 12.69 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001521/0.8326, allocations: 0.8878 MB / 0.6641 GB, free: 11.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04559/0.8782, allocations: 41.28 MB / 0.7044 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2906/1.169, allocations: 2.5 MB / 0.7069 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002043/1.171, allocations: 1.399 MB / 0.7083 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000608/1.172, allocations: 0.6472 MB / 0.7089 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/1.172, allocations: 52.03 kB / 0.7089 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=129): time 5.681e-06/1.172, allocations: 0 / 0.7089 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=138): time 0.02431/1.196, allocations: 12.28 MB / 0.7209 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/1.196, allocations: 201.3 kB / 0.7211 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005035/1.201, allocations: 2.812 MB / 0.7239 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002997/1.201, allocations: 26.36 kB / 0.7239 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001709/1.203, allocations: 2.803 MB / 0.7266 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006179/1.204, allocations: 0.5378 MB / 0.7272 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/1.204, allocations: 2.25 kB / 0.7272 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002794/1.204, allocations: 0.5367 MB / 0.7277 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/1.206, allocations: 1.614 MB / 0.7293 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003262/1.209, allocations: 5.142 MB / 0.7343 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003281/1.213, allocations: 2.855 MB / 0.7371 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.735e-05/1.213, allocations: 34.75 kB / 0.7371 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.009646/1.222, allocations: 6.059 MB / 0.743 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.398e-05/1.223, allocations: 61.34 kB / 0.7431 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/1.223, allocations: 128.1 kB / 0.7432 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/1.223, allocations: 346.8 kB / 0.7435 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003893/1.227, allocations: 1.341 MB / 0.7448 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/1.229, allocations: 2.211 MB / 0.747 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003844/1.233, allocations: 190.9 kB / 0.7472 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006147/1.233, allocations: 354.3 kB / 0.7475 GB, free: 121.4 MB / 0.4948 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.0007384/1.234, allocations: 420.8 kB / 0.7479 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006294/1.235, allocations: 283.1 kB / 0.7482 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004153/1.239, allocations: 2.304 MB / 0.7504 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.917e-05/1.239, allocations: 22.89 kB / 0.7505 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.239, allocations: 3.5 kB / 0.7505 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/1.239, allocations: 10.83 kB / 0.7505 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/1.249, allocations: 5.732 MB / 0.7561 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/1.249, allocations: 0 / 0.7561 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008696/1.25, allocations: 187.9 kB / 0.7562 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001882/1.252, allocations: 0.7047 MB / 0.7569 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/1.252, allocations: 11.17 kB / 0.7569 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004415/1.257, allocations: 4.289 MB / 0.7611 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.257, allocations: 7.438 kB / 0.7611 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005893/1.263, allocations: 4.473 MB / 0.7655 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/1.264, allocations: 0.5105 MB / 0.766 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003904/1.264, allocations: 3.688 kB / 0.766 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.265, allocations: 61.38 kB / 0.7661 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/1.266, allocations: 75.33 kB / 0.7661 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.118e-05/1.266, allocations: 40.39 kB / 0.7662 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00275/1.268, allocations: 1.866 MB / 0.768 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.268, allocations: 0 / 0.768 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005158/1.274, allocations: 0.7115 MB / 0.7687 GB, free: 112.5 MB / 0.4948 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.0005257/1.274, allocations: 144.1 kB / 0.7688 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006529/1.281, allocations: 3.815 MB / 0.7726 GB, free: 111 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/1.281, allocations: 0 / 0.7726 GB, free: 111 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/1.282, allocations: 1.099 MB / 0.7736 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/1.284, allocations: 296.9 kB / 0.7739 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/1.296, allocations: 5.923 MB / 0.7797 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00244/1.299, allocations: 2.868 MB / 0.7825 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003979/1.303, allocations: 1.734 MB / 0.7842 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006801/1.303, allocations: 198 kB / 0.7844 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of SimCode: time 2.094e-06/1.303, allocations: 4 kB / 0.7844 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.04377/1.347, allocations: 25.62 MB / 0.8094 GB, free: 86.52 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