Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002004/0.002004, allocations: 107.1 kB / 20.44 MB, free: 1.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002144/0.002144, allocations: 209.8 kB / 23.73 MB, free: 4.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.599/1.599, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 46.94 MB / 360.8 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002487/0.002487, allocations: 79.88 kB / 0.4966 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3907, allocations: 66.09 MB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01811/0.4088, allocations: 14.13 MB / 0.575 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.4209, allocations: 5.112 MB / 0.58 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003647/0.4246, allocations: 115.4 kB / 0.5801 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.4351, allocations: 4.065 MB / 0.584 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009439/0.4445, allocations: 2.802 MB / 0.5868 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004073/0.4486, allocations: 1.271 MB / 0.588 GB, free: 8.363 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01521/0.4638, allocations: 7.738 MB / 0.5956 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008563/0.4724, allocations: 4.717 MB / 0.6002 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005764/0.4782, allocations: 2.714 MB / 0.6028 GB, free: 9.094 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006916/0.4851, allocations: 3.859 MB / 0.6066 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002099/0.4872, allocations: 0.5977 MB / 0.6072 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004704/0.4919, allocations: 1.643 MB / 0.6088 GB, free: 2.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00484/0.4967, allocations: 3.373 MB / 0.6121 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005982/0.5027, allocations: 2.796 MB / 0.6148 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01831/0.521, allocations: 12.41 MB / 0.6269 GB, free: 336 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.521, allocations: 0 / 0.6269 GB, free: 336 kB / 462.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.521, allocations: 0 / 0.6269 GB, free: 336 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006424/0.5217, allocations: 0 / 0.6269 GB, free: 336 kB / 462.1 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.02977/0.5514, allocations: 7.978 MB / 0.6347 GB, free: 8.266 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.5515, allocations: 12.03 kB / 0.6347 GB, free: 8.254 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01832/0.5698, allocations: 3.985 MB / 0.6386 GB, free: 4.258 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01296/0.5828, allocations: 4.186 MB / 0.6427 GB, free: 16 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006327/0.5834, allocations: 398 kB / 0.6431 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003361/0.5868, allocations: 0.5581 MB / 0.6436 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05/0.6368, allocations: 18.93 MB / 0.6621 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003855/0.6372, allocations: 75.39 kB / 0.6622 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002169/0.6393, allocations: 247.8 kB / 0.6624 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006364/0.6457, allocations: 3.428 MB / 0.6658 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04007/0.6858, allocations: 16.61 MB / 0.682 GB, free: 6.703 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 preOpt removeSimpleEquations (simulation): time 0.7728/1.459, allocations: 61.66 MB / 0.7422 GB, free: 112.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01387/1.472, allocations: 5.127 MB / 0.7472 GB, free: 112.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003723/1.476, allocations: 2.641 MB / 0.7498 GB, free: 112.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01911/1.495, allocations: 10.61 MB / 0.7602 GB, free: 109.1 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/1.495, allocations: 61.88 kB / 0.7602 GB, free: 109.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 6.161e-06/1.495, allocations: 3.906 kB / 0.7602 GB, free: 109.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07735/1.573, allocations: 25.06 MB / 0.7847 GB, free: 89.76 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/1.573, allocations: 184.3 kB / 0.7849 GB, free: 89.54 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005795/1.578, allocations: 5.621 MB / 0.7904 GB, free: 84.16 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000497/1.579, allocations: 73.7 kB / 0.7904 GB, free: 84.08 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001845/1.581, allocations: 5.18 MB / 0.7955 GB, free: 79.11 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009468/1.582, allocations: 1.337 MB / 0.7968 GB, free: 77.79 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001859/1.584, allocations: 1.925 MB / 0.7987 GB, free: 75.85 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.035e-05/1.584, allocations: 309.1 kB / 0.799 GB, free: 75.55 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004125/1.588, allocations: 3.36 MB / 0.8022 GB, free: 72.18 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006113/1.594, allocations: 8.898 MB / 0.8109 GB, free: 60.66 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/1.605, allocations: 13.19 MB / 0.8238 GB, free: 44.96 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001473/1.605, allocations: 56 kB / 0.8239 GB, free: 44.91 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.0243/1.63, allocations: 12.96 MB / 0.8365 GB, free: 31.91 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/1.63, allocations: 88 kB / 0.8366 GB, free: 31.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002634/1.63, allocations: 196 kB / 0.8368 GB, free: 31.63 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003994/1.634, allocations: 1.326 MB / 0.8381 GB, free: 30.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007177/1.641, allocations: 2.207 MB / 0.8403 GB, free: 28.09 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/1.652, allocations: 7.617 MB / 0.8477 GB, free: 20.38 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006909/1.659, allocations: 0.5072 MB / 0.8482 GB, free: 19.87 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001543/1.66, allocations: 0.5547 MB / 0.8487 GB, free: 19.32 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * 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 (1179): * Single equations (assignments): 1172 * Array equations: 6 * 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 {(2,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00593/1.666, allocations: 3.452 MB / 0.8521 GB, free: 15.85 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/1.667, allocations: 0.5006 MB / 0.8526 GB, free: 15.35 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009538/1.677, allocations: 5.34 MB / 0.8578 GB, free: 9.949 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-05/1.677, allocations: 36 kB / 0.8578 GB, free: 9.914 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/1.677, allocations: 11.94 kB / 0.8578 GB, free: 9.902 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.258e-05/1.677, allocations: 15.94 kB / 0.8579 GB, free: 9.887 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02404/1.701, allocations: 11.55 MB / 0.8691 GB, free: 14.19 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.927e-05/1.701, allocations: 15.98 kB / 0.8692 GB, free: 14.17 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002639/1.704, allocations: 499.2 kB / 0.8696 GB, free: 13.68 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003525/1.707, allocations: 0.8128 MB / 0.8704 GB, free: 12.87 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005629/1.708, allocations: 67.52 kB / 0.8705 GB, free: 12.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/1.718, allocations: 5.584 MB / 0.8759 GB, free: 7.117 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-05/1.718, allocations: 15.94 kB / 0.876 GB, free: 7.102 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/1.735, allocations: 8.269 MB / 0.884 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001782/1.736, allocations: 464.5 kB / 0.8845 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009865/1.737, allocations: 63.98 kB / 0.8845 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/1.739, allocations: 143.1 kB / 0.8847 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005213/1.74, allocations: 229.3 kB / 0.8849 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002355/1.74, allocations: 104 kB / 0.885 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006363/1.747, allocations: 3.222 MB / 0.8881 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/1.747, allocations: 0 / 0.8881 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009345/1.756, allocations: 1.612 MB / 0.8897 GB, free: 8.746 MB / 0.5919 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 (269): * Single equations (assignments): 262 * Array equations: 6 * 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 {(2,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/1.757, allocations: 271 kB / 0.89 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01526/1.772, allocations: 7.587 MB / 0.8974 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/1.772, allocations: 0 / 0.8974 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004496/1.777, allocations: 2.214 MB / 0.8995 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004044/1.781, allocations: 0.5999 MB / 0.9001 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03346/1.814, allocations: 15.54 MB / 0.9153 GB, free: 14.35 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009747/1.824, allocations: 4.676 MB / 0.9199 GB, free: 9.625 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.008167/1.832, allocations: 2.9 MB / 0.9227 GB, free: 6.719 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/1.833, allocations: 367.4 kB / 0.9231 GB, free: 6.359 MB / 0.6232 GB Notification: Performance of SimCode: time 9.12e-07/1.833, allocations: 0 / 0.9231 GB, free: 6.359 MB / 0.6232 GB Notification: Performance of Templates: time 0.1169/1.95, allocations: 56.33 MB / 0.9781 GB, free: 14.8 MB / 0.6857 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.985168064013124]