Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001202, allocations: 179.1 kB / 18.09 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.3 MB / 242.1 MB, free: 9.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000869/0.0008691, allocations: 98.03 kB / 293.3 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3084/0.3084, allocations: 44.15 MB / 388.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005681/0.0005681, allocations: 11.98 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.32, allocations: 61.88 MB / 0.5107 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.4534, allocations: 118.4 MB / 0.6264 GB, free: 8.574 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.4537, allocations: 83.94 kB / 0.6264 GB, free: 8.496 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5946/1.048, allocations: 154.1 MB / 0.7769 GB, free: 70.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.048, allocations: 0 / 0.7769 GB, free: 70.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004329/1.049, allocations: 135.9 kB / 0.777 GB, free: 70.6 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02261/1.071, allocations: 6.792 MB / 0.7837 GB, free: 63.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.072, allocations: 16.03 kB / 0.7837 GB, free: 63.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02436/1.096, allocations: 5.778 MB / 0.7893 GB, free: 57.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01501/1.111, allocations: 6.704 MB / 0.7959 GB, free: 51.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005401/1.112, allocations: 0.5298 MB / 0.7964 GB, free: 50.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003918/1.115, allocations: 0.7031 MB / 0.7971 GB, free: 49.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04188/1.157, allocations: 18.69 MB / 0.8153 GB, free: 29.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005043/1.158, allocations: 95.11 kB / 0.8154 GB, free: 29.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003678/1.162, allocations: 335.8 kB / 0.8157 GB, free: 29.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002391/1.164, allocations: 1.723 MB / 0.8174 GB, free: 27.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03312/1.197, allocations: 16.3 MB / 0.8333 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3686/1.566, allocations: 74.05 MB / 0.9056 GB, free: 54.81 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01388/1.58, allocations: 6.137 MB / 0.9116 GB, free: 53.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003415/1.583, allocations: 2.748 MB / 0.9143 GB, free: 53.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02128/1.604, allocations: 13.75 MB / 0.9278 GB, free: 49.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.7e-05/1.605, allocations: 73.33 kB / 0.9278 GB, free: 49.17 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=284): time 5.791e-06/1.605, allocations: 0 / 0.9278 GB, free: 49.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=344): time 0.07515/1.68, allocations: 24.07 MB / 0.9513 GB, free: 45.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/1.68, allocations: 186.3 kB / 0.9515 GB, free: 44.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009774/1.69, allocations: 5.866 MB / 0.9572 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007271/1.69, allocations: 74.95 kB / 0.9573 GB, free: 44.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003038/1.693, allocations: 4.999 MB / 0.9622 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001466/1.695, allocations: 1.279 MB / 0.9634 GB, free: 39.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007028/1.696, allocations: 184.4 kB / 0.9636 GB, free: 39.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004512/1.696, allocations: 0.7091 MB / 0.9643 GB, free: 39.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005153/1.701, allocations: 3.264 MB / 0.9675 GB, free: 38.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008463/1.71, allocations: 8.76 MB / 0.976 GB, free: 29.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/1.722, allocations: 13.04 MB / 0.9888 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001936/1.723, allocations: 54.09 kB / 0.9888 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.02482/1.748, allocations: 12.77 MB / 1.001 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/1.748, allocations: 89.03 kB / 1.001 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000221/1.748, allocations: 196.5 kB / 1.002 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003712/1.752, allocations: 1.296 MB / 1.003 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006985/1.759, allocations: 2.188 MB / 1.005 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/1.769, allocations: 7.17 MB / 1.012 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008114/1.777, allocations: 0.5615 MB / 1.013 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001883/1.779, allocations: 0.5485 MB / 1.013 GB, free: 7.016 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1155): * Single equations (assignments): 1148 * Array equations: 6 * 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 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007424/1.787, allocations: 3.45 MB / 1.016 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.788, allocations: 0.5283 MB / 1.017 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/1.799, allocations: 5.41 MB / 1.022 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.988e-05/1.8, allocations: 40 kB / 1.022 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.988e-05/1.8, allocations: 8 kB / 1.022 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.176e-05/1.8, allocations: 19.69 kB / 1.022 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03288/1.832, allocations: 14.1 MB / 1.036 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.912e-05/1.833, allocations: 15.94 kB / 1.036 GB, free: 3.414 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/1.835, allocations: 0.5308 MB / 1.037 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00345/1.839, allocations: 0.9198 MB / 1.037 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006441/1.839, allocations: 77.33 kB / 1.038 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/1.85, allocations: 5.595 MB / 1.043 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.536e-05/1.85, allocations: 19.94 kB / 1.043 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/1.864, allocations: 8.48 MB / 1.051 GB, free: 5.926 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/1.866, allocations: 0.5694 MB / 1.052 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008085/1.867, allocations: 71.62 kB / 1.052 GB, free: 5.285 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/1.869, allocations: 192.5 kB / 1.052 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004631/1.869, allocations: 219.4 kB / 1.052 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002148/1.87, allocations: 107.1 kB / 1.052 GB, free: 4.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006274/1.876, allocations: 3.636 MB / 1.056 GB, free: 1.961 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.3e-07/1.876, allocations: 4 kB / 1.056 GB, free: 1.957 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008729/1.885, allocations: 1.654 MB / 1.058 GB, free: 328 kB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * 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 (267): * Single equations (assignments): 260 * Array equations: 6 * 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 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008546/1.885, allocations: 270 kB / 1.058 GB, free: 80 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01396/1.899, allocations: 7.781 MB / 1.065 GB, free: 9.172 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/1.899, allocations: 0 / 1.065 GB, free: 9.172 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004123/1.904, allocations: 2.4 MB / 1.068 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01258/1.916, allocations: 0.6779 MB / 1.068 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02949/1.946, allocations: 18.21 MB / 1.086 GB, free: 5.512 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007291/1.953, allocations: 5.172 MB / 1.091 GB, free: 0.8398 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.2425/2.196, allocations: 3.037 MB / 1.094 GB, free: 148.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/2.197, allocations: 383.5 kB / 1.095 GB, free: 148.6 MB / 0.573 GB Notification: Performance of SimCode: time 7.21e-07/2.197, allocations: 0 / 1.095 GB, free: 148.6 MB / 0.573 GB Notification: Performance of Templates: time 0.1026/2.3, allocations: 55.43 MB / 1.149 GB, free: 146.5 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches