Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_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.001094/0.001094, allocations: 95.83 kB / 16.99 MB, free: 5.941 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.001096/0.001097, allocations: 181.4 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2086/0.2086, allocations: 44.22 MB / 337.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003939, allocations: 8 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1451, allocations: 61.93 MB / 471.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.3302/0.4753, allocations: 58.55 MB / 0.5176 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04002/0.5154, allocations: 14.16 MB / 0.5314 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0216/0.537, allocations: 305.3 kB / 0.5317 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01773/0.5548, allocations: 2.902 MB / 0.5345 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04161/0.5965, allocations: 8.371 MB / 0.5427 GB, free: 5.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007415/0.604, allocations: 1.15 MB / 0.5438 GB, free: 4.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1068/0.7108, allocations: 72.26 MB / 0.6144 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01597/0.7268, allocations: 8.104 MB / 0.6223 GB, free: 9.254 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005799/0.7327, allocations: 1.744 MB / 0.624 GB, free: 7.504 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0056/0.7383, allocations: 2.36 MB / 0.6263 GB, free: 5.137 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002081/0.7405, allocations: 236 kB / 0.6265 GB, free: 4.906 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00513/0.7456, allocations: 1.213 MB / 0.6277 GB, free: 3.691 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005266/0.7509, allocations: 2.642 MB / 0.6303 GB, free: 1.043 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003488/0.7544, allocations: 1.318 MB / 0.6316 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01514/0.7696, allocations: 9.535 MB / 0.6409 GB, free: 6.156 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7696, allocations: 0 / 0.6409 GB, free: 6.156 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.7697, allocations: 0 / 0.6409 GB, free: 6.156 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005734/0.7702, allocations: 0 / 0.6409 GB, free: 6.156 MB / 478.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.02468/0.7949, allocations: 6.993 MB / 0.6477 GB, free: 15.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.795, allocations: 8.562 kB / 0.6477 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06422/0.8592, allocations: 11.1 MB / 0.6586 GB, free: 3.949 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01471/0.874, allocations: 5.383 MB / 0.6638 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003881/0.8744, allocations: 377.8 kB / 0.6642 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002611/0.877, allocations: 0.5074 MB / 0.6647 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03605/0.9131, allocations: 15.62 MB / 0.6799 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002782/0.9134, allocations: 71.36 kB / 0.68 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001241/0.9147, allocations: 231.8 kB / 0.6802 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004371/0.9191, allocations: 2.548 MB / 0.6827 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03223/0.9513, allocations: 13.12 MB / 0.6955 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3359/1.287, allocations: 57.32 MB / 0.7515 GB, free: 152.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0173/1.305, allocations: 6.457 MB / 0.7578 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02/1.325, allocations: 11.41 MB / 0.769 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.085e-05/1.325, allocations: 59.91 kB / 0.769 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=245): time 5.871e-06/1.325, allocations: 0 / 0.769 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=338): time 0.1352/1.46, allocations: 40.68 MB / 0.8087 GB, free: 102 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.844e-05/1.46, allocations: 239.9 kB / 0.809 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007993/1.468, allocations: 6.073 MB / 0.8149 GB, free: 95.63 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001044/1.469, allocations: 77.7 kB / 0.815 GB, free: 95.55 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002675/1.472, allocations: 4.443 MB / 0.8193 GB, free: 91.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001769/1.474, allocations: 1.237 MB / 0.8205 GB, free: 89.88 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005073/1.474, allocations: 165.3 kB / 0.8207 GB, free: 89.72 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000361/1.475, allocations: 0.6492 MB / 0.8213 GB, free: 89.06 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004702/1.479, allocations: 3.737 MB / 0.825 GB, free: 85.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006467/1.486, allocations: 8.234 MB / 0.833 GB, free: 74.85 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007387/1.493, allocations: 5.436 MB / 0.8383 GB, free: 69.39 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001032/1.493, allocations: 44 kB / 0.8384 GB, free: 69.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.03269/1.526, allocations: 15.39 MB / 0.8534 GB, free: 53.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/1.526, allocations: 75.28 kB / 0.8535 GB, free: 53.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001613/1.526, allocations: 156 kB / 0.8536 GB, free: 53.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01305/1.539, allocations: 4.127 MB / 0.8576 GB, free: 49.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006555/1.546, allocations: 1.797 MB / 0.8594 GB, free: 47.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02662/1.573, allocations: 20.28 MB / 0.8792 GB, free: 27.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00729/1.58, allocations: 495.2 kB / 0.8797 GB, free: 26.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001751/1.582, allocations: 469.5 kB / 0.8801 GB, free: 26.39 MB / 0.5294 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.00651/1.588, allocations: 3.129 MB / 0.8832 GB, free: 23.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001506/1.59, allocations: 0.5245 MB / 0.8837 GB, free: 22.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01845/1.608, allocations: 9.595 MB / 0.8931 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.255e-05/1.608, allocations: 32 kB / 0.8931 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.902e-05/1.608, allocations: 16 kB / 0.8931 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.216e-05/1.608, allocations: 11.95 kB / 0.8931 GB, free: 12.99 MB / 0.5294 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.322/1.931, allocations: 19.77 MB / 0.9124 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.108e-05/1.931, allocations: 6.469 kB / 0.9124 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002674/1.933, allocations: 499 kB / 0.9129 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01386/1.947, allocations: 3.657 MB / 0.9165 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009585/1.948, allocations: 69.88 kB / 0.9165 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02409/1.972, allocations: 17.83 MB / 0.9339 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.972, allocations: 11.84 kB / 0.934 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02498/1.997, allocations: 15.14 MB / 0.9487 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002392/2, allocations: 0.5938 MB / 0.9493 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002785/2.003, allocations: 61.02 kB / 0.9494 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004767/2.007, allocations: 227.7 kB / 0.9496 GB, free: 156.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001015/2.008, allocations: 220.7 kB / 0.9498 GB, free: 156 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002679/2.009, allocations: 95.31 kB / 0.9499 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006189/2.015, allocations: 3.905 MB / 0.9537 GB, free: 152 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.595e-06/2.015, allocations: 1.406 kB / 0.9537 GB, free: 152 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008079/2.023, allocations: 1.73 MB / 0.9554 GB, free: 150.3 MB / 0.5294 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.0008758/2.024, allocations: 251.3 kB / 0.9556 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01195/2.036, allocations: 9.187 MB / 0.9646 GB, free: 141 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/2.036, allocations: 0 / 0.9646 GB, free: 141 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004637/2.04, allocations: 3.628 MB / 0.9682 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004589/2.045, allocations: 0.6852 MB / 0.9688 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02852/2.074, allocations: 18.04 MB / 0.9864 GB, free: 118.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0074/2.081, allocations: 4.962 MB / 0.9913 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006864/2.088, allocations: 2.6 MB / 0.9938 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/2.089, allocations: 355.4 kB / 0.9942 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.753e-06/2.089, allocations: 1.531 kB / 0.9942 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.1152/2.205, allocations: 72.36 MB / 1.065 GB, free: 38.79 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches