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.001177/0.001177, allocations: 110.7 kB / 16.41 MB, free: 6.48 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.001376/0.001377, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.577/1.577, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2376/0.2376, allocations: 43.52 MB / 314.1 MB, free: 456 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.001548/0.001548, allocations: 69.47 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1346, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01703/0.1516, allocations: 16.06 MB / 0.5036 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.164, allocations: 5.441 MB / 0.5089 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/0.1666, allocations: 111.7 kB / 0.509 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009357/0.1761, allocations: 5.132 MB / 0.514 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009147/0.1852, allocations: 2.642 MB / 0.5166 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003775/0.1891, allocations: 1.388 MB / 0.5179 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01306/0.2021, allocations: 7.603 MB / 0.5253 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3436/0.5458, allocations: 7.036 MB / 0.5322 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006392/0.5522, allocations: 2.784 MB / 0.5349 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007577/0.5598, allocations: 3.762 MB / 0.5386 GB, free: 8.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002877/0.5627, allocations: 0.6364 MB / 0.5392 GB, free: 8.711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008193/0.5709, allocations: 1.781 MB / 0.541 GB, free: 8.711 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006871/0.5779, allocations: 3.395 MB / 0.5443 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01011/0.588, allocations: 3.716 MB / 0.5479 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02082/0.6088, allocations: 12 MB / 0.5596 GB, free: 3.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.6089, allocations: 0 / 0.5596 GB, free: 3.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6089, allocations: 0 / 0.5596 GB, free: 3.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007084/0.6096, allocations: 0 / 0.5596 GB, free: 3.16 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.02818/0.6378, allocations: 7.926 MB / 0.5674 GB, free: 13.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.6379, allocations: 13.61 kB / 0.5674 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0166/0.6545, allocations: 3.054 MB / 0.5704 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01634/0.6709, allocations: 5.27 MB / 0.5755 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003001/0.6712, allocations: 377.9 kB / 0.5759 GB, free: 9.305 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002338/0.6735, allocations: 0.5099 MB / 0.5764 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03256/0.7061, allocations: 15.52 MB / 0.5915 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003738/0.7065, allocations: 66.91 kB / 0.5916 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002406/0.709, allocations: 240.4 kB / 0.5918 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004555/0.7135, allocations: 2.542 MB / 0.5943 GB, free: 8.168 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03393/0.7475, allocations: 13.09 MB / 0.6071 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09993/0.8475, allocations: 57.34 MB / 0.6631 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01862/0.8661, allocations: 6.37 MB / 0.6693 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005429/0.8716, allocations: 3.445 MB / 0.6727 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02485/0.8965, allocations: 11.57 MB / 0.684 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.063e-05/0.8966, allocations: 60.55 kB / 0.684 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=248): time 7.995e-06/0.8966, allocations: 0 / 0.684 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=343): time 0.143/1.04, allocations: 39.61 MB / 0.7227 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/1.04, allocations: 239.9 kB / 0.7229 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01039/1.05, allocations: 5.746 MB / 0.7286 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001025/1.051, allocations: 77.7 kB / 0.7286 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00359/1.055, allocations: 4.359 MB / 0.7329 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001886/1.057, allocations: 1.264 MB / 0.7341 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002806/1.059, allocations: 1.749 MB / 0.7358 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.06, allocations: 305.1 kB / 0.7361 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006528/1.066, allocations: 4.077 MB / 0.7401 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/1.077, allocations: 8.679 MB / 0.7486 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2844/1.361, allocations: 13.56 MB / 0.7618 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001263/1.361, allocations: 49.94 kB / 0.7619 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.04159/1.403, allocations: 16.37 MB / 0.7778 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/1.403, allocations: 71.69 kB / 0.7779 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003063/1.403, allocations: 159 kB / 0.7781 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01399/1.417, allocations: 4.283 MB / 0.7823 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007627/1.425, allocations: 1.896 MB / 0.7841 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02875/1.454, allocations: 21.55 MB / 0.8051 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008414/1.462, allocations: 0.501 MB / 0.8056 GB, free: 175.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00161/1.464, allocations: 487.5 kB / 0.8061 GB, free: 175.2 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.006175/1.47, allocations: 3.136 MB / 0.8092 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/1.471, allocations: 0.5154 MB / 0.8097 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01914/1.49, allocations: 10.11 MB / 0.8195 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-05/1.49, allocations: 36 kB / 0.8196 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.197e-05/1.49, allocations: 16 kB / 0.8196 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.407e-05/1.49, allocations: 15.94 kB / 0.8196 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03735/1.528, allocations: 20.06 MB / 0.8392 GB, free: 143.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.335e-05/1.528, allocations: 4 kB / 0.8392 GB, free: 143.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002546/1.53, allocations: 0.4961 MB / 0.8397 GB, free: 143.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01213/1.543, allocations: 3.837 MB / 0.8434 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001138/1.544, allocations: 65.38 kB / 0.8435 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02363/1.567, allocations: 19.11 MB / 0.8622 GB, free: 120.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/1.567, allocations: 15.94 kB / 0.8622 GB, free: 120.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02553/1.593, allocations: 14.89 MB / 0.8767 GB, free: 105.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004152/1.597, allocations: 1.178 MB / 0.8779 GB, free: 104 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001693/1.599, allocations: 63.98 kB / 0.8779 GB, free: 103.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003377/1.602, allocations: 236.6 kB / 0.8781 GB, free: 103.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000738/1.603, allocations: 228 kB / 0.8784 GB, free: 103.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002602/1.603, allocations: 90.19 kB / 0.8784 GB, free: 103.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005994/1.609, allocations: 3.632 MB / 0.882 GB, free: 99.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.21e-07/1.609, allocations: 0 / 0.882 GB, free: 99.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01026/1.62, allocations: 1.785 MB / 0.8837 GB, free: 97.97 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.001134/1.621, allocations: 262.9 kB / 0.884 GB, free: 97.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01491/1.636, allocations: 9.845 MB / 0.8936 GB, free: 87.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-05/1.636, allocations: 4 kB / 0.8936 GB, free: 87.87 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005107/1.641, allocations: 3.782 MB / 0.8973 GB, free: 84.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006761/1.648, allocations: 0.7288 MB / 0.898 GB, free: 83.36 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03102/1.679, allocations: 15.93 MB / 0.9136 GB, free: 67.31 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006211/1.685, allocations: 4.835 MB / 0.9183 GB, free: 62.45 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005788/1.691, allocations: 2.581 MB / 0.9208 GB, free: 59.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/1.692, allocations: 355.4 kB / 0.9212 GB, free: 59.52 MB / 0.5919 GB Notification: Performance of SimCode: time 1.122e-06/1.692, allocations: 0 / 0.9212 GB, free: 59.52 MB / 0.5919 GB Notification: Performance of Templates: time 0.3689/2.061, allocations: 75.47 MB / 0.9949 GB, free: 189 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