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.001153/0.001153, allocations: 104.5 kB / 16.93 MB, free: 5.781 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.001044/0.001044, allocations: 191.6 kB / 17.86 MB, free: 5.156 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.397/1.397, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2186/0.2186, allocations: 43.53 MB / 314.6 MB, free: 0.5352 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.00172/0.00172, allocations: 75.53 kB / 383.4 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.09649, allocations: 57.79 MB / 441.2 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01536/0.1119, allocations: 16.05 MB / 457.2 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.1243, allocations: 5.441 MB / 462.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003447/0.1278, allocations: 115.6 kB / 462.8 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01011/0.1379, allocations: 5.129 MB / 467.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007713/0.1458, allocations: 2.626 MB / 470.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003625/0.1494, allocations: 1.396 MB / 471.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01173/0.1612, allocations: 7.596 MB / 479.5 MB, free: 456 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01064/0.1718, allocations: 7.059 MB / 486.6 MB, free: 9.301 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006125/0.178, allocations: 2.773 MB / 489.4 MB, free: 6.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006482/0.1845, allocations: 3.755 MB / 493.1 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002573/0.1872, allocations: 0.6367 MB / 493.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00511/0.1923, allocations: 1.775 MB / 495.5 MB, free: 348 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005661/0.198, allocations: 3.351 MB / 498.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008576/0.2066, allocations: 3.71 MB / 0.4908 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01728/0.2239, allocations: 11.7 MB / 0.5022 GB, free: 13.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.789e-06/0.224, allocations: 4 kB / 0.5022 GB, free: 13.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.224, allocations: 0 / 0.5022 GB, free: 13.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004776/0.2245, allocations: 0 / 0.5022 GB, free: 13.51 MB / 398.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.02429/0.2488, allocations: 7.924 MB / 0.51 GB, free: 5.504 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.2488, allocations: 15.89 kB / 0.51 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01663/0.2655, allocations: 3.057 MB / 0.513 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01502/0.2806, allocations: 5.17 MB / 0.518 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006951/0.2813, allocations: 382.2 kB / 0.5184 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003492/0.2848, allocations: 0.5112 MB / 0.5189 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2679/0.5528, allocations: 15.51 MB / 0.534 GB, free: 78.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003563/0.5532, allocations: 63.91 kB / 0.5341 GB, free: 78.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001716/0.5549, allocations: 235.7 kB / 0.5343 GB, free: 78.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004758/0.5597, allocations: 2.546 MB / 0.5368 GB, free: 78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03116/0.5909, allocations: 13.1 MB / 0.5496 GB, free: 74.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07313/0.664, allocations: 57.61 MB / 0.6059 GB, free: 20.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01655/0.6806, allocations: 6.373 MB / 0.6121 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003929/0.6846, allocations: 3.443 MB / 0.6154 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01739/0.702, allocations: 11.58 MB / 0.6268 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.472e-05/0.7021, allocations: 64.56 kB / 0.6268 GB, free: 14.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=248): time 5.21e-06/0.7022, allocations: 0 / 0.6268 GB, free: 14.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=343): time 0.1467/0.8489, allocations: 39.59 MB / 0.6655 GB, free: 6.879 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.8491, allocations: 243.8 kB / 0.6657 GB, free: 6.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01084/0.8599, allocations: 5.743 MB / 0.6713 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009737/0.861, allocations: 73.7 kB / 0.6714 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00356/0.8645, allocations: 4.359 MB / 0.6757 GB, free: 12.37 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001893/0.8665, allocations: 1.264 MB / 0.6769 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003466/0.8699, allocations: 1.749 MB / 0.6786 GB, free: 9.324 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.87, allocations: 307.6 kB / 0.6789 GB, free: 9.023 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006599/0.8766, allocations: 4.081 MB / 0.6829 GB, free: 4.934 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009799/0.8865, allocations: 8.668 MB / 0.6913 GB, free: 10.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01728/0.9038, allocations: 13.56 MB / 0.7046 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001455/0.904, allocations: 52 kB / 0.7046 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03891/0.9429, allocations: 16.38 MB / 0.7206 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002336/0.9432, allocations: 72 kB / 0.7207 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003121/0.9435, allocations: 160 kB / 0.7209 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01489/0.9584, allocations: 4.296 MB / 0.725 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007226/0.9657, allocations: 1.903 MB / 0.7269 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3045/1.27, allocations: 21.54 MB / 0.7479 GB, free: 161.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008675/1.279, allocations: 0.507 MB / 0.7484 GB, free: 161.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001922/1.281, allocations: 487 kB / 0.7489 GB, free: 161.7 MB / 0.5137 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.006293/1.287, allocations: 3.126 MB / 0.752 GB, free: 160.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/1.289, allocations: 0.5198 MB / 0.7525 GB, free: 160.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02153/1.31, allocations: 10.1 MB / 0.7623 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.245e-05/1.31, allocations: 35.98 kB / 0.7624 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.213e-05/1.31, allocations: 15.62 kB / 0.7624 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.811e-05/1.31, allocations: 19.14 kB / 0.7624 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03856/1.349, allocations: 20.17 MB / 0.7821 GB, free: 147.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.826e-05/1.349, allocations: 4 kB / 0.7821 GB, free: 147.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002594/1.352, allocations: 0.4953 MB / 0.7826 GB, free: 146.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01199/1.364, allocations: 3.851 MB / 0.7863 GB, free: 142.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007998/1.365, allocations: 61.69 kB / 0.7864 GB, free: 142.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02371/1.388, allocations: 19.12 MB / 0.8051 GB, free: 123.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/1.388, allocations: 15.66 kB / 0.8051 GB, free: 123.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02452/1.413, allocations: 14.89 MB / 0.8196 GB, free: 109 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003054/1.416, allocations: 1.181 MB / 0.8208 GB, free: 107.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009886/1.417, allocations: 66.98 kB / 0.8208 GB, free: 107.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002839/1.42, allocations: 228.2 kB / 0.8211 GB, free: 107.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007393/1.421, allocations: 225.6 kB / 0.8213 GB, free: 107.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002539/1.421, allocations: 91.98 kB / 0.8214 GB, free: 107.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004844/1.426, allocations: 3.632 MB / 0.8249 GB, free: 103.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.6e-07/1.426, allocations: 5.938 kB / 0.8249 GB, free: 103.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007629/1.433, allocations: 1.789 MB / 0.8267 GB, free: 101.8 MB / 0.5137 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.0008027/1.434, allocations: 258 kB / 0.8269 GB, free: 101.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01929/1.453, allocations: 13.29 MB / 0.8399 GB, free: 88.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.454, allocations: 0 / 0.8399 GB, free: 88.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004803/1.458, allocations: 3.792 MB / 0.8436 GB, free: 84.53 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004704/1.463, allocations: 0.7221 MB / 0.8443 GB, free: 83.83 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02595/1.489, allocations: 16.7 MB / 0.8606 GB, free: 67 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005578/1.495, allocations: 4.789 MB / 0.8653 GB, free: 62.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001794/1.497, allocations: 407.4 kB / 0.8657 GB, free: 61.8 MB / 0.5137 GB Notification: Performance of SimCode: time 8.42e-07/1.497, allocations: 0 / 0.8657 GB, free: 61.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.4057/1.902, allocations: 123 MB / 0.9857 GB, free: 114.6 MB / 0.5137 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