Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 113.8 kB / 17.77 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 183.1 kB / 18.7 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2094/0.2094, allocations: 44.19 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 64.09 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4197, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01195/0.4317, allocations: 10.26 MB / 0.5289 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008474/0.4403, allocations: 3.779 MB / 0.5326 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002878/0.4432, allocations: 58.12 kB / 0.5327 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004726/0.4479, allocations: 1.958 MB / 0.5346 GB, free: 8.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006466/0.4545, allocations: 1.65 MB / 0.5362 GB, free: 7.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.4567, allocations: 0.6152 MB / 0.5368 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00671/0.4634, allocations: 3.331 MB / 0.54 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004781/0.4682, allocations: 2.584 MB / 0.5426 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003331/0.4716, allocations: 1.241 MB / 0.5438 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003553/0.4751, allocations: 1.67 MB / 0.5454 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001082/0.4762, allocations: 256 kB / 0.5457 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/0.4795, allocations: 1.03 MB / 0.5467 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002135/0.4816, allocations: 1.562 MB / 0.5482 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003269/0.4849, allocations: 1.829 MB / 0.55 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006973/0.4919, allocations: 5.856 MB / 0.5557 GB, free: 6.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4919, allocations: 0 / 0.5557 GB, free: 6.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4919, allocations: 4 kB / 0.5557 GB, free: 6.219 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001418/0.4921, allocations: 0 / 0.5557 GB, free: 6.219 MB / 414.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.00739/0.4995, allocations: 4.117 MB / 0.5597 GB, free: 2.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.4996, allocations: 12.03 kB / 0.5597 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005941/0.5055, allocations: 1.8 MB / 0.5615 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003509/0.509, allocations: 1.964 MB / 0.5634 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.5092, allocations: 185.2 kB / 0.5636 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004306/0.5096, allocations: 259.8 kB / 0.5638 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01497/0.5246, allocations: 8.439 MB / 0.5721 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001285/0.5248, allocations: 39.7 kB / 0.5721 GB, free: 4.605 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000408/0.5252, allocations: 127.8 kB / 0.5722 GB, free: 4.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002797/0.528, allocations: 1.703 MB / 0.5739 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/0.5415, allocations: 7.091 MB / 0.5808 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04285/0.5844, allocations: 34.09 MB / 0.6141 GB, free: 8.598 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007488/0.5919, allocations: 3.266 MB / 0.6173 GB, free: 5.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001933/0.5939, allocations: 1.472 MB / 0.6187 GB, free: 3.691 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006889/0.6008, allocations: 4.382 MB / 0.623 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.6009, allocations: 47.06 kB / 0.6231 GB, free: 15.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 4.087e-06/0.6009, allocations: 0 / 0.6231 GB, free: 15.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.0333/0.6342, allocations: 11.71 MB / 0.6345 GB, free: 3.211 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.6344, allocations: 170.8 kB / 0.6346 GB, free: 3.008 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006534/0.6409, allocations: 3.73 MB / 0.6383 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000315/0.6413, allocations: 45.7 kB / 0.6383 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002166/0.6435, allocations: 2.858 MB / 0.6411 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006836/0.6441, allocations: 0.5467 MB / 0.6417 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/0.6455, allocations: 1.091 MB / 0.6427 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.6456, allocations: 305.1 kB / 0.643 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002363/0.648, allocations: 1.705 MB / 0.6447 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004647/0.6526, allocations: 5.131 MB / 0.6497 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008715/0.6614, allocations: 7.42 MB / 0.6569 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001032/0.6615, allocations: 39.94 kB / 0.657 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01381/0.6753, allocations: 6.734 MB / 0.6636 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.6755, allocations: 64.88 kB / 0.6636 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003046/0.6759, allocations: 120 kB / 0.6637 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008308/0.6767, allocations: 328.7 kB / 0.664 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004157/0.6809, allocations: 1.244 MB / 0.6653 GB, free: 168 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/0.6837, allocations: 2.497 MB / 0.6677 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004162/0.6879, allocations: 291.6 kB / 0.668 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009765/0.6889, allocations: 332 kB / 0.6683 GB, free: 12.92 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.004075/0.693, allocations: 1.791 MB / 0.67 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008947/0.6939, allocations: 321.8 kB / 0.6703 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005116/0.699, allocations: 2.363 MB / 0.6727 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.07e-05/0.6991, allocations: 16 kB / 0.6727 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.6991, allocations: 4 kB / 0.6727 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/0.6991, allocations: 11.97 kB / 0.6727 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.712, allocations: 5.898 MB / 0.6784 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/0.7121, allocations: 4.031 kB / 0.6784 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008759/0.713, allocations: 179.8 kB / 0.6786 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002229/0.7152, allocations: 0.7185 MB / 0.6793 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/0.7154, allocations: 27.98 kB / 0.6793 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005928/0.7213, allocations: 4.813 MB / 0.684 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.7214, allocations: 0 / 0.684 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006821/0.7282, allocations: 4.339 MB / 0.6883 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/0.7294, allocations: 378.8 kB / 0.6886 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007494/0.7302, allocations: 16.11 kB / 0.6887 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.7316, allocations: 87.83 kB / 0.6887 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/0.7319, allocations: 68.5 kB / 0.6888 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.785e-05/0.732, allocations: 39.98 kB / 0.6888 GB, free: 7.562 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00464/0.7366, allocations: 2.319 MB / 0.6911 GB, free: 5.258 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7366, allocations: 0 / 0.6911 GB, free: 5.258 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005323/0.742, allocations: 0.8163 MB / 0.6919 GB, free: 4.441 MB / 0.545 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.0005153/0.7425, allocations: 159 kB / 0.6921 GB, free: 4.277 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007091/0.7496, allocations: 4.045 MB / 0.696 GB, free: 256 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.7496, allocations: 0.5625 kB / 0.696 GB, free: 256 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001661/0.7513, allocations: 1.112 MB / 0.6971 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/0.7539, allocations: 383.9 kB / 0.6975 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.769, allocations: 7.379 MB / 0.7047 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004394/0.7735, allocations: 2.789 MB / 0.7074 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003921/0.7774, allocations: 1.656 MB / 0.709 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006788/0.7781, allocations: 215.4 kB / 0.7092 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.7781, allocations: 0 / 0.7092 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of Templates: time 0.371/1.149, allocations: 27.97 MB / 0.7365 GB, free: 182.8 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches