Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001334, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001242, allocations: 103 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3309/0.3309, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 67.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3527, allocations: 62.01 MB / 0.5152 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.03359/0.3864, allocations: 48.22 MB / 0.5622 GB, free: 3.301 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02651/0.4129, allocations: 10.73 MB / 0.5727 GB, free: 12.13 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01268/0.4256, allocations: 212.7 kB / 0.5729 GB, free: 12.1 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009036/0.4347, allocations: 3.966 MB / 0.5768 GB, free: 9.965 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008217/0.4431, allocations: 2.054 MB / 0.5788 GB, free: 8.23 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.4461, allocations: 1.084 MB / 0.5799 GB, free: 7.145 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0117/0.4578, allocations: 8.411 MB / 0.5881 GB, free: 14.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007815/0.4657, allocations: 5.058 MB / 0.593 GB, free: 9.594 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003834/0.4696, allocations: 1.935 MB / 0.5949 GB, free: 7.652 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004867/0.4745, allocations: 3.131 MB / 0.598 GB, free: 4.512 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001746/0.4763, allocations: 344 kB / 0.5983 GB, free: 4.176 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004334/0.4806, allocations: 1.564 MB / 0.5998 GB, free: 2.609 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003378/0.484, allocations: 2.536 MB / 0.6023 GB, free: 68 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004284/0.4883, allocations: 2.866 MB / 0.6051 GB, free: 13.18 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.4997, allocations: 9.545 MB / 0.6144 GB, free: 3.609 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.4997, allocations: 0 / 0.6144 GB, free: 3.609 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4997, allocations: 0 / 0.6144 GB, free: 3.609 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002663/0.5, allocations: 0 / 0.6144 GB, free: 3.609 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01969/0.5197, allocations: 6.55 MB / 0.6208 GB, free: 12.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.5198, allocations: 8.031 kB / 0.6208 GB, free: 12.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0188/0.5386, allocations: 2.704 MB / 0.6235 GB, free: 10.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01271/0.5514, allocations: 3.568 MB / 0.6269 GB, free: 6.629 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004545/0.5519, allocations: 362.2 kB / 0.6273 GB, free: 6.266 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002169/0.5541, allocations: 427.6 kB / 0.6277 GB, free: 5.848 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03226/0.5864, allocations: 13.85 MB / 0.6412 GB, free: 7.141 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003166/0.5868, allocations: 59.52 kB / 0.6413 GB, free: 7.082 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001933/0.5887, allocations: 199.8 kB / 0.6415 GB, free: 6.887 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004269/0.593, allocations: 2.41 MB / 0.6438 GB, free: 4.477 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02776/0.6208, allocations: 11.75 MB / 0.6553 GB, free: 8.707 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3505/0.9714, allocations: 51.78 MB / 0.7059 GB, free: 97.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/0.9826, allocations: 4.736 MB / 0.7105 GB, free: 95.76 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003338/0.9859, allocations: 2.952 MB / 0.7134 GB, free: 94.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01966/1.006, allocations: 12.86 MB / 0.7259 GB, free: 87.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/1.006, allocations: 57.5 kB / 0.726 GB, free: 87.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=197): time 4.969e-06/1.006, allocations: 0 / 0.726 GB, free: 87.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=248): time 0.1351/1.141, allocations: 43.4 MB / 0.7684 GB, free: 58.72 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/1.141, allocations: 231.6 kB / 0.7686 GB, free: 58.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005869/1.147, allocations: 4.774 MB / 0.7733 GB, free: 53.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006607/1.147, allocations: 61.7 kB / 0.7733 GB, free: 53.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001712/1.149, allocations: 3.841 MB / 0.7771 GB, free: 49.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00108/1.15, allocations: 0.9382 MB / 0.778 GB, free: 48.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001852/1.152, allocations: 1.509 MB / 0.7795 GB, free: 47.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.712e-05/1.152, allocations: 305.1 kB / 0.7797 GB, free: 47.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004845/1.157, allocations: 3.442 MB / 0.7831 GB, free: 43.56 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006027/1.163, allocations: 7.703 MB / 0.7906 GB, free: 33.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/1.174, allocations: 11.88 MB / 0.8022 GB, free: 19.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001022/1.175, allocations: 44 kB / 0.8023 GB, free: 19.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02845/1.203, allocations: 14.47 MB / 0.8164 GB, free: 5.273 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.76e-05/1.203, allocations: 72 kB / 0.8165 GB, free: 5.203 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/1.203, allocations: 148 kB / 0.8166 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01218/1.215, allocations: 4.021 MB / 0.8205 GB, free: 1.031 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005327/1.221, allocations: 1.634 MB / 0.8221 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02772/1.249, allocations: 18.68 MB / 0.8404 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005763/1.254, allocations: 459.5 kB / 0.8408 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008709/1.255, allocations: 432 kB / 0.8412 GB, free: 11.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (884): * Single equations (assignments): 880 * 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 {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004105/1.259, allocations: 2.658 MB / 0.8438 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000791/1.26, allocations: 430.4 kB / 0.8442 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01927/1.279, allocations: 8.646 MB / 0.8527 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.801e-05/1.28, allocations: 28 kB / 0.8527 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-05/1.28, allocations: 12 kB / 0.8527 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-05/1.28, allocations: 11.95 kB / 0.8527 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05265/1.332, allocations: 17.92 MB / 0.8702 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.105e-05/1.332, allocations: 0 / 0.8702 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003706/1.336, allocations: 391.4 kB / 0.8706 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02231/1.358, allocations: 4.076 MB / 0.8746 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007877/1.359, allocations: 44 kB / 0.8746 GB, free: 9.395 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3048/1.664, allocations: 17.1 MB / 0.8913 GB, free: 175.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.664, allocations: 0 / 0.8913 GB, free: 175.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2418/1.906, allocations: 124.4 MB / 1.013 GB, free: 81.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/1.907, allocations: 469.2 kB / 1.013 GB, free: 80.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007466/1.908, allocations: 44.12 kB / 1.013 GB, free: 80.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002408/1.91, allocations: 211.7 kB / 1.014 GB, free: 80.51 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006632/1.911, allocations: 150.1 kB / 1.014 GB, free: 80.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002082/1.911, allocations: 63.98 kB / 1.014 GB, free: 80.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004008/1.915, allocations: 2.982 MB / 1.017 GB, free: 77.32 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/1.915, allocations: 0 / 1.017 GB, free: 77.32 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009669/1.925, allocations: 2.09 MB / 1.019 GB, free: 75.24 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.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 (173): * Single equations (assignments): 169 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000855/1.926, allocations: 216.4 kB / 1.019 GB, free: 75.04 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.938, allocations: 8.26 MB / 1.027 GB, free: 66.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/1.938, allocations: 4.938 kB / 1.027 GB, free: 66.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004054/1.942, allocations: 3.112 MB / 1.03 GB, free: 63.66 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003478/1.945, allocations: 0.5035 MB / 1.031 GB, free: 63.17 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03415/1.98, allocations: 17.61 MB / 1.048 GB, free: 45.51 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00553/1.985, allocations: 4.194 MB / 1.052 GB, free: 41.29 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005337/1.991, allocations: 2.245 MB / 1.054 GB, free: 39.04 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009587/1.992, allocations: 287.4 kB / 1.054 GB, free: 38.76 MB / 0.5417 GB Notification: Performance of SimCode: time 8.01e-07/1.992, allocations: 4 kB / 1.054 GB, free: 38.76 MB / 0.5417 GB Notification: Performance of Templates: time 0.4909/2.483, allocations: 95.14 MB / 1.147 GB, free: 137.1 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches