Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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 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 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 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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.001309/0.001309, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2487/0.2487, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 68.47 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.143, allocations: 57.8 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01784/0.1609, allocations: 16.05 MB / 0.5035 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01505/0.1761, allocations: 5.453 MB / 0.5089 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004674/0.1808, allocations: 115.6 kB / 0.509 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01058/0.1915, allocations: 5.128 MB / 0.514 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.2022, allocations: 2.708 MB / 0.5166 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004281/0.2065, allocations: 1.392 MB / 0.518 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01292/0.2194, allocations: 7.599 MB / 0.5254 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3949/0.6143, allocations: 7.028 MB / 0.5323 GB, free: 8.859 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00857/0.623, allocations: 2.785 MB / 0.535 GB, free: 8.723 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008721/0.6317, allocations: 3.766 MB / 0.5387 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004887/0.6367, allocations: 0.6361 MB / 0.5393 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007512/0.6442, allocations: 1.779 MB / 0.541 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00877/0.653, allocations: 3.395 MB / 0.5444 GB, free: 8.078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.012/0.665, allocations: 3.715 MB / 0.548 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02186/0.6869, allocations: 11.99 MB / 0.5597 GB, free: 3.102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.4e-05/0.687, allocations: 4 kB / 0.5597 GB, free: 3.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.687, allocations: 7 kB / 0.5597 GB, free: 3.094 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007624/0.6878, allocations: 0 / 0.5597 GB, free: 3.094 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.03684/0.7246, allocations: 7.919 MB / 0.5674 GB, free: 13.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.003e-05/0.7247, allocations: 12.73 kB / 0.5674 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01704/0.7418, allocations: 3.053 MB / 0.5704 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01381/0.7556, allocations: 5.275 MB / 0.5756 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003736/0.756, allocations: 384.8 kB / 0.5759 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002613/0.7586, allocations: 0.5109 MB / 0.5764 GB, free: 9.098 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04134/0.8, allocations: 15.52 MB / 0.5916 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003293/0.8004, allocations: 61.41 kB / 0.5917 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001205/0.8016, allocations: 237.6 kB / 0.5919 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004409/0.806, allocations: 2.546 MB / 0.5944 GB, free: 8.125 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03374/0.8398, allocations: 13.1 MB / 0.6072 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09868/0.9385, allocations: 57.35 MB / 0.6632 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01869/0.9573, allocations: 6.364 MB / 0.6694 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007599/0.9649, allocations: 3.445 MB / 0.6727 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02483/0.9898, allocations: 11.57 MB / 0.684 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.604e-05/0.99, allocations: 59.84 kB / 0.6841 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=248): time 6.692e-06/0.99, allocations: 0 / 0.6841 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=343): time 0.1451/1.135, allocations: 39.61 MB / 0.7228 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/1.135, allocations: 247.6 kB / 0.723 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01191/1.147, allocations: 5.747 MB / 0.7286 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001315/1.149, allocations: 76.98 kB / 0.7287 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004332/1.153, allocations: 4.358 MB / 0.733 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002526/1.155, allocations: 1.266 MB / 0.7342 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00362/1.159, allocations: 1.749 MB / 0.7359 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.159, allocations: 303.2 kB / 0.7362 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006887/1.166, allocations: 4.081 MB / 0.7402 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01138/1.178, allocations: 8.675 MB / 0.7486 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4189/1.597, allocations: 13.55 MB / 0.7619 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002789/1.597, allocations: 45.41 kB / 0.7619 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.05047/1.647, allocations: 16.38 MB / 0.7779 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001664/1.648, allocations: 72.09 kB / 0.778 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000485/1.648, allocations: 155.2 kB / 0.7781 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01496/1.663, allocations: 4.282 MB / 0.7823 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007342/1.671, allocations: 1.892 MB / 0.7842 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02962/1.7, allocations: 21.55 MB / 0.8052 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009325/1.71, allocations: 0.5016 MB / 0.8057 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002283/1.712, allocations: 482.1 kB / 0.8062 GB, free: 175.1 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (1031): * Single equations (assignments): 1027 * 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,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008086/1.72, allocations: 3.136 MB / 0.8092 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001525/1.721, allocations: 0.5201 MB / 0.8097 GB, free: 172.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02022/1.742, allocations: 10.11 MB / 0.8196 GB, free: 163.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.199e-05/1.742, allocations: 32 kB / 0.8196 GB, free: 163.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.884e-05/1.742, allocations: 16 kB / 0.8197 GB, free: 163.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.918e-05/1.742, allocations: 15.94 kB / 0.8197 GB, free: 163.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04093/1.783, allocations: 20.05 MB / 0.8393 GB, free: 143.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.571e-05/1.783, allocations: 9.312 kB / 0.8393 GB, free: 143.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002547/1.786, allocations: 0.4922 MB / 0.8397 GB, free: 143.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01174/1.797, allocations: 3.838 MB / 0.8435 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009682/1.798, allocations: 67.98 kB / 0.8436 GB, free: 139.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02284/1.821, allocations: 19.12 MB / 0.8622 GB, free: 120.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.821, allocations: 11.94 kB / 0.8622 GB, free: 120.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02417/1.845, allocations: 14.9 MB / 0.8768 GB, free: 105.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004486/1.85, allocations: 1.174 MB / 0.8779 GB, free: 103.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001895/1.852, allocations: 60.55 kB / 0.878 GB, free: 103.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003591/1.855, allocations: 236.2 kB / 0.8782 GB, free: 103.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008753/1.856, allocations: 222.8 kB / 0.8784 GB, free: 103.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002911/1.857, allocations: 92.77 kB / 0.8785 GB, free: 103.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006007/1.863, allocations: 3.63 MB / 0.8821 GB, free: 99.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/1.863, allocations: 0 / 0.8821 GB, free: 99.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01133/1.874, allocations: 1.783 MB / 0.8838 GB, free: 97.88 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 257 * 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,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001097/1.875, allocations: 260.5 kB / 0.8841 GB, free: 97.63 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01428/1.889, allocations: 9.845 MB / 0.8937 GB, free: 87.78 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/1.889, allocations: 0 / 0.8937 GB, free: 87.78 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005203/1.895, allocations: 3.792 MB / 0.8974 GB, free: 83.97 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005113/1.9, allocations: 0.7397 MB / 0.8981 GB, free: 83.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02995/1.93, allocations: 15.92 MB / 0.9136 GB, free: 67.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007195/1.937, allocations: 4.841 MB / 0.9184 GB, free: 62.36 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006198/1.943, allocations: 2.577 MB / 0.9209 GB, free: 59.78 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/1.945, allocations: 355.4 kB / 0.9212 GB, free: 59.43 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/1.945, allocations: 0 / 0.9212 GB, free: 59.43 MB / 0.5919 GB Notification: Performance of Templates: time 0.42/2.365, allocations: 74.91 MB / 0.9944 GB, free: 188.8 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches