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.0009777/0.0009826, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 176.9 kB / 16.57 MB, free: 6.852 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.453/1.453, allocations: 205.4 MB / 222.7 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.344/0.344, allocations: 43.54 MB / 314.5 MB, free: 8.965 MB / 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.0004985/0.0004985, allocations: 12 kB / 383.9 MB, free: 8.328 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1365, allocations: 58.86 MB / 442.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.2872/0.4238, allocations: 58.6 MB / 0.4896 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03592/0.4597, allocations: 14.17 MB / 0.5034 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01601/0.4758, allocations: 298.2 kB / 0.5037 GB, free: 3.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01201/0.4878, allocations: 2.913 MB / 0.5066 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03363/0.5215, allocations: 8.355 MB / 0.5147 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005996/0.5275, allocations: 1.158 MB / 0.5159 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.06045/0.588, allocations: 40.33 MB / 0.5552 GB, free: 13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01528/0.6033, allocations: 8.087 MB / 0.5631 GB, free: 4.867 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005553/0.609, allocations: 1.756 MB / 0.5649 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005374/0.6144, allocations: 2.36 MB / 0.5672 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002072/0.6165, allocations: 240 kB / 0.5674 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004569/0.6211, allocations: 1.198 MB / 0.5686 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005016/0.6261, allocations: 2.65 MB / 0.5711 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003155/0.6293, allocations: 1.33 MB / 0.5724 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.6427, allocations: 9.566 MB / 0.5818 GB, free: 1.719 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6427, allocations: 0 / 0.5818 GB, free: 1.719 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.6427, allocations: 4 kB / 0.5818 GB, free: 1.715 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004304/0.6432, allocations: 0 / 0.5818 GB, free: 1.715 MB / 446.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.01984/0.663, allocations: 7.025 MB / 0.5886 GB, free: 10.61 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.6631, allocations: 12.02 kB / 0.5887 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06124/0.7244, allocations: 11.11 MB / 0.5995 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01559/0.74, allocations: 5.871 MB / 0.6052 GB, free: 9.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004924/0.7405, allocations: 377.8 kB / 0.6056 GB, free: 9.148 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002899/0.7434, allocations: 0.5112 MB / 0.6061 GB, free: 8.637 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03488/0.7783, allocations: 15.62 MB / 0.6213 GB, free: 8.121 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003364/0.7787, allocations: 71.36 kB / 0.6214 GB, free: 8.051 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001867/0.7806, allocations: 239.8 kB / 0.6216 GB, free: 7.816 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004154/0.7848, allocations: 2.54 MB / 0.6241 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2458/1.031, allocations: 13.1 MB / 0.6369 GB, free: 135.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07478/1.105, allocations: 57.4 MB / 0.693 GB, free: 98.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01694/1.122, allocations: 6.44 MB / 0.6993 GB, free: 96.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01752/1.14, allocations: 11.44 MB / 0.7104 GB, free: 88.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/1.14, allocations: 58.78 kB / 0.7105 GB, free: 88.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=245): time 5.541e-06/1.14, allocations: 1.969 kB / 0.7105 GB, free: 88.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=338): time 0.1243/1.264, allocations: 40.86 MB / 0.7504 GB, free: 50.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.265, allocations: 251.8 kB / 0.7506 GB, free: 50.44 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008945/1.273, allocations: 6.125 MB / 0.7566 GB, free: 44.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001317/1.275, allocations: 77.7 kB / 0.7567 GB, free: 44.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002893/1.278, allocations: 4.449 MB / 0.761 GB, free: 39.81 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002019/1.28, allocations: 1.236 MB / 0.7622 GB, free: 38.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004103/1.28, allocations: 164.7 kB / 0.7624 GB, free: 38.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003114/1.281, allocations: 0.6414 MB / 0.763 GB, free: 37.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004484/1.285, allocations: 3.741 MB / 0.7667 GB, free: 34.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006181/1.291, allocations: 8.238 MB / 0.7747 GB, free: 23.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007119/1.298, allocations: 5.435 MB / 0.78 GB, free: 18.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-05/1.299, allocations: 44 kB / 0.7801 GB, free: 18.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.02885/1.327, allocations: 15.39 MB / 0.7951 GB, free: 2.613 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001/1.327, allocations: 75.59 kB / 0.7952 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001595/1.328, allocations: 156 kB / 0.7953 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01286/1.341, allocations: 4.131 MB / 0.7994 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006582/1.347, allocations: 1.794 MB / 0.8011 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02912/1.376, allocations: 20.28 MB / 0.8209 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006381/1.383, allocations: 499.2 kB / 0.8214 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001309/1.384, allocations: 470.2 kB / 0.8218 GB, free: 7.102 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * 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 (966): * Single equations (assignments): 962 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005554/1.39, allocations: 3.123 MB / 0.8249 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001312/1.391, allocations: 0.5283 MB / 0.8254 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2291/1.62, allocations: 9.596 MB / 0.8348 GB, free: 155.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.025e-05/1.62, allocations: 36.31 kB / 0.8348 GB, free: 155.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/1.62, allocations: 13.16 kB / 0.8348 GB, free: 155.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-05/1.62, allocations: 16.08 kB / 0.8348 GB, free: 155.8 MB / 0.5137 GB 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 postOpt removeSimpleEquations (simulation): time 0.03475/1.655, allocations: 19.79 MB / 0.8542 GB, free: 150.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.354e-05/1.655, allocations: 8.312 kB / 0.8542 GB, free: 150.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002332/1.657, allocations: 496.8 kB / 0.8546 GB, free: 150.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0125/1.67, allocations: 3.658 MB / 0.8582 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004844/1.67, allocations: 68.23 kB / 0.8583 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02309/1.693, allocations: 17.84 MB / 0.8757 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.694, allocations: 11.78 kB / 0.8757 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02278/1.716, allocations: 15.15 MB / 0.8905 GB, free: 134.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003337/1.72, allocations: 1.153 MB / 0.8916 GB, free: 134.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006445/1.72, allocations: 60.75 kB / 0.8917 GB, free: 134.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002421/1.723, allocations: 232.9 kB / 0.8919 GB, free: 134 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006564/1.723, allocations: 225.2 kB / 0.8921 GB, free: 133.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000224/1.724, allocations: 87.09 kB / 0.8922 GB, free: 133.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004964/1.729, allocations: 3.941 MB / 0.8961 GB, free: 131.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/1.729, allocations: 3.719 kB / 0.8961 GB, free: 131.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006369/1.735, allocations: 1.73 MB / 0.8978 GB, free: 130.3 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (256): * Single equations (assignments): 252 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006736/1.736, allocations: 254 kB / 0.898 GB, free: 130 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01108/1.747, allocations: 9.192 MB / 0.907 GB, free: 120.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.747, allocations: 0 / 0.907 GB, free: 120.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004084/1.751, allocations: 3.622 MB / 0.9105 GB, free: 117.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/1.754, allocations: 0.6828 MB / 0.9112 GB, free: 116.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02237/1.777, allocations: 18.11 MB / 0.9289 GB, free: 98.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004349/1.781, allocations: 4.962 MB / 0.9337 GB, free: 93.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006187/1.787, allocations: 2.605 MB / 0.9362 GB, free: 90.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.788, allocations: 363.4 kB / 0.9366 GB, free: 90.61 MB / 0.5137 GB Notification: Performance of SimCode: time 1.824e-06/1.788, allocations: 0 / 0.9366 GB, free: 90.61 MB / 0.5137 GB Notification: Performance of Templates: time 0.09845/1.887, allocations: 72.51 MB / 1.007 GB, free: 18.2 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches