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.001409/0.001409, allocations: 115.9 kB / 17.09 MB, free: 5.984 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.001435/0.001435, allocations: 189.3 kB / 18.01 MB, free: 5.074 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.489/1.489, allocations: 205.1 MB / 223.9 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.2482/0.2482, allocations: 43.52 MB / 314.8 MB, free: 468 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.00144/0.00144, allocations: 79.81 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1279, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01607/0.144, allocations: 16.05 MB / 0.5042 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.1567, allocations: 5.449 MB / 0.5095 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0039/0.1607, allocations: 107.7 kB / 0.5096 GB, free: 6.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009947/0.1707, allocations: 5.132 MB / 0.5146 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008517/0.1792, allocations: 2.712 MB / 0.5173 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00375/0.183, allocations: 1.392 MB / 0.5186 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01193/0.195, allocations: 7.603 MB / 0.5261 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3349/0.5299, allocations: 7.028 MB / 0.5329 GB, free: 9.246 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006995/0.5369, allocations: 2.783 MB / 0.5357 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008418/0.5454, allocations: 3.767 MB / 0.5393 GB, free: 8.766 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003071/0.5485, allocations: 0.6362 MB / 0.54 GB, free: 8.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005724/0.5542, allocations: 1.781 MB / 0.5417 GB, free: 8.766 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005743/0.56, allocations: 3.394 MB / 0.545 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007951/0.568, allocations: 3.718 MB / 0.5486 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02024/0.5882, allocations: 12 MB / 0.5604 GB, free: 3.254 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.5883, allocations: 0 / 0.5604 GB, free: 3.254 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5883, allocations: 0 / 0.5604 GB, free: 3.254 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005116/0.5888, allocations: 3.406 kB / 0.5604 GB, free: 3.254 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.02583/0.6146, allocations: 7.929 MB / 0.5681 GB, free: 14.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.6147, allocations: 9.859 kB / 0.5681 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01504/0.6297, allocations: 3.051 MB / 0.5711 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01502/0.6448, allocations: 5.276 MB / 0.5762 GB, free: 9.531 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003557/0.6452, allocations: 379.5 kB / 0.5766 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002626/0.6478, allocations: 0.5097 MB / 0.5771 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03987/0.6877, allocations: 15.52 MB / 0.5923 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003962/0.6882, allocations: 67.75 kB / 0.5923 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002536/0.6907, allocations: 236.2 kB / 0.5925 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004691/0.6954, allocations: 2.546 MB / 0.595 GB, free: 8.238 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03265/0.7281, allocations: 13.1 MB / 0.6078 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09595/0.8241, allocations: 57.34 MB / 0.6638 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0182/0.8424, allocations: 6.366 MB / 0.67 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005403/0.8478, allocations: 3.451 MB / 0.6734 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02176/0.8696, allocations: 11.57 MB / 0.6847 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.015e-05/0.8698, allocations: 59.66 kB / 0.6848 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=248): time 5.42e-06/0.8698, allocations: 0 / 0.6848 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=343): time 0.1414/1.011, allocations: 39.61 MB / 0.7234 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00019/1.011, allocations: 250.6 kB / 0.7237 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/1.022, allocations: 5.739 MB / 0.7293 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001108/1.023, allocations: 80.36 kB / 0.7294 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00405/1.027, allocations: 4.359 MB / 0.7336 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002463/1.029, allocations: 1.265 MB / 0.7348 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003378/1.033, allocations: 1.749 MB / 0.7366 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001928/1.033, allocations: 301.1 kB / 0.7368 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007477/1.041, allocations: 4.085 MB / 0.7408 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.012/1.053, allocations: 8.676 MB / 0.7493 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3586/1.411, allocations: 13.56 MB / 0.7625 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001927/1.411, allocations: 46.84 kB / 0.7626 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.04641/1.458, allocations: 16.38 MB / 0.7786 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001753/1.458, allocations: 72.66 kB / 0.7787 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003398/1.458, allocations: 158.3 kB / 0.7788 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01456/1.473, allocations: 4.278 MB / 0.783 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007703/1.481, allocations: 1.899 MB / 0.7848 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03001/1.511, allocations: 21.54 MB / 0.8059 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009053/1.52, allocations: 0.5055 MB / 0.8064 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00234/1.522, allocations: 479.8 kB / 0.8068 GB, free: 175.3 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.009028/1.531, allocations: 3.133 MB / 0.8099 GB, free: 172.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/1.533, allocations: 0.5193 MB / 0.8104 GB, free: 172.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02049/1.553, allocations: 10.12 MB / 0.8203 GB, free: 164 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.296e-05/1.554, allocations: 38.89 kB / 0.8203 GB, free: 164 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.937e-05/1.554, allocations: 12 kB / 0.8203 GB, free: 164 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.8e-05/1.554, allocations: 19.94 kB / 0.8203 GB, free: 164 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04121/1.595, allocations: 20.04 MB / 0.8399 GB, free: 143.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.011e-05/1.595, allocations: 8 kB / 0.8399 GB, free: 143.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002781/1.598, allocations: 0.4914 MB / 0.8404 GB, free: 143.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0126/1.61, allocations: 3.842 MB / 0.8442 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001098/1.612, allocations: 61.56 kB / 0.8442 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02428/1.636, allocations: 19.12 MB / 0.8629 GB, free: 120.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.636, allocations: 10.95 kB / 0.8629 GB, free: 120.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02506/1.661, allocations: 14.91 MB / 0.8775 GB, free: 105.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00388/1.665, allocations: 1.162 MB / 0.8786 GB, free: 104 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002092/1.667, allocations: 65.31 kB / 0.8786 GB, free: 104 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004317/1.671, allocations: 239.7 kB / 0.8789 GB, free: 103.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009232/1.672, allocations: 230.2 kB / 0.8791 GB, free: 103.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002929/1.673, allocations: 93.16 kB / 0.8792 GB, free: 103.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006695/1.679, allocations: 3.624 MB / 0.8827 GB, free: 99.83 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4e-07/1.679, allocations: 0 / 0.8827 GB, free: 99.83 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.011/1.69, allocations: 1.783 MB / 0.8845 GB, free: 98.06 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.001089/1.691, allocations: 267.5 kB / 0.8847 GB, free: 97.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02047/1.712, allocations: 9.845 MB / 0.8943 GB, free: 87.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/1.712, allocations: 1.406 kB / 0.8943 GB, free: 87.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008466/1.72, allocations: 3.785 MB / 0.898 GB, free: 84.15 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008225/1.729, allocations: 0.7334 MB / 0.8987 GB, free: 83.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05083/1.78, allocations: 16.53 MB / 0.9149 GB, free: 66.78 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01352/1.793, allocations: 4.793 MB / 0.9196 GB, free: 61.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00327/1.797, allocations: 411.4 kB / 0.92 GB, free: 61.56 MB / 0.5919 GB Notification: Performance of SimCode: time 1.593e-06/1.797, allocations: 0 / 0.92 GB, free: 61.56 MB / 0.5919 GB Notification: Performance of Templates: time 0.5235/2.32, allocations: 123.9 MB / 1.041 GB, free: 147.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins1/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