Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 210.3 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2475/0.2475, allocations: 46.95 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 59.91 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.4004, allocations: 66.05 MB / 0.5611 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01871/0.4191, allocations: 14.11 MB / 0.5749 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.4328, allocations: 5.108 MB / 0.5799 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003795/0.4366, allocations: 119.4 kB / 0.58 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009689/0.4463, allocations: 4.069 MB / 0.5839 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0109/0.4572, allocations: 2.809 MB / 0.5867 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003965/0.4611, allocations: 1.271 MB / 0.5879 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01512/0.4762, allocations: 7.735 MB / 0.5955 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01241/0.4887, allocations: 4.721 MB / 0.6001 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008629/0.4973, allocations: 2.714 MB / 0.6027 GB, free: 9.285 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01077/0.5081, allocations: 3.855 MB / 0.6065 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003801/0.5119, allocations: 0.5938 MB / 0.6071 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006961/0.5188, allocations: 1.654 MB / 0.6087 GB, free: 3.168 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007298/0.5261, allocations: 3.37 MB / 0.612 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008811/0.5349, allocations: 2.792 MB / 0.6147 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02383/0.5588, allocations: 12.41 MB / 0.6268 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.5588, allocations: 0 / 0.6268 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5588, allocations: 0 / 0.6268 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004789/0.5592, allocations: 0 / 0.6268 GB, free: 0.5234 MB / 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.02384/0.5831, allocations: 7.982 MB / 0.6346 GB, free: 8.461 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.5831, allocations: 8.031 kB / 0.6346 GB, free: 8.453 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01799/0.6011, allocations: 3.989 MB / 0.6385 GB, free: 4.453 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/0.614, allocations: 4.186 MB / 0.6426 GB, free: 216 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005327/0.6146, allocations: 394.1 kB / 0.643 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002642/0.6172, allocations: 0.5541 MB / 0.6435 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04574/0.663, allocations: 18.94 MB / 0.662 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003538/0.6633, allocations: 63.47 kB / 0.6621 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002055/0.6654, allocations: 247.8 kB / 0.6623 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006361/0.6717, allocations: 3.436 MB / 0.6657 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04082/0.7125, allocations: 16.61 MB / 0.6819 GB, free: 6.895 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.651/1.364, allocations: 61.66 MB / 0.7421 GB, free: 112.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01396/1.377, allocations: 5.121 MB / 0.7471 GB, free: 112.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003531/1.381, allocations: 2.644 MB / 0.7497 GB, free: 112.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01914/1.4, allocations: 10.61 MB / 0.7601 GB, free: 109.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/1.4, allocations: 62.78 kB / 0.7601 GB, free: 109.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 7.193e-06/1.4, allocations: 3.984 kB / 0.7601 GB, free: 109.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07333/1.474, allocations: 25.05 MB / 0.7846 GB, free: 89.95 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/1.474, allocations: 191.9 kB / 0.7848 GB, free: 89.73 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00586/1.479, allocations: 5.617 MB / 0.7903 GB, free: 84.35 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005068/1.48, allocations: 73.7 kB / 0.7903 GB, free: 84.27 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001994/1.482, allocations: 5.18 MB / 0.7954 GB, free: 79.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.483, allocations: 1.341 MB / 0.7967 GB, free: 77.98 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001943/1.485, allocations: 1.921 MB / 0.7986 GB, free: 76.05 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.157e-05/1.485, allocations: 301.1 kB / 0.7989 GB, free: 75.75 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004131/1.489, allocations: 3.361 MB / 0.8022 GB, free: 72.38 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00632/1.495, allocations: 8.902 MB / 0.8108 GB, free: 60.85 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01411/1.51, allocations: 13.19 MB / 0.8237 GB, free: 45.15 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001976/1.51, allocations: 56 kB / 0.8238 GB, free: 45.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02211/1.532, allocations: 12.97 MB / 0.8364 GB, free: 32.09 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/1.532, allocations: 88 kB / 0.8365 GB, free: 32 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001783/1.532, allocations: 194.8 kB / 0.8367 GB, free: 31.81 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003803/1.536, allocations: 1.321 MB / 0.838 GB, free: 30.5 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006416/1.542, allocations: 2.207 MB / 0.8402 GB, free: 28.29 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/1.553, allocations: 7.622 MB / 0.8476 GB, free: 20.57 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006681/1.559, allocations: 0.5033 MB / 0.8481 GB, free: 20.06 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/1.561, allocations: 0.5508 MB / 0.8486 GB, free: 19.51 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.005394/1.566, allocations: 3.456 MB / 0.852 GB, free: 16.04 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009749/1.567, allocations: 0.5045 MB / 0.8525 GB, free: 15.54 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009673/1.577, allocations: 5.337 MB / 0.8577 GB, free: 10.14 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-05/1.577, allocations: 39.44 kB / 0.8577 GB, free: 10.11 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/1.577, allocations: 8 kB / 0.8578 GB, free: 10.1 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-05/1.577, allocations: 13.14 kB / 0.8578 GB, free: 10.09 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02566/1.602, allocations: 11.56 MB / 0.8691 GB, free: 14.38 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-05/1.602, allocations: 15.94 kB / 0.8691 GB, free: 14.36 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002514/1.605, allocations: 0.4914 MB / 0.8695 GB, free: 13.87 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003591/1.608, allocations: 0.8123 MB / 0.8703 GB, free: 13.06 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003888/1.609, allocations: 71.98 kB / 0.8704 GB, free: 12.99 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/1.62, allocations: 5.584 MB / 0.8759 GB, free: 7.305 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.615e-05/1.62, allocations: 15.94 kB / 0.8759 GB, free: 7.289 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01744/1.637, allocations: 8.266 MB / 0.884 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/1.639, allocations: 468.4 kB / 0.8844 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001348/1.64, allocations: 71.44 kB / 0.8845 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002673/1.643, allocations: 131.9 kB / 0.8846 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005495/1.644, allocations: 225.4 kB / 0.8848 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002743/1.644, allocations: 108 kB / 0.8849 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007342/1.651, allocations: 3.226 MB / 0.8881 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/1.651, allocations: 0 / 0.8881 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01006/1.661, allocations: 1.609 MB / 0.8896 GB, free: 8.934 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.001063/1.662, allocations: 266.3 kB / 0.8899 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01525/1.678, allocations: 7.588 MB / 0.8973 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.534e-05/1.678, allocations: 1.938 kB / 0.8973 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004535/1.682, allocations: 2.217 MB / 0.8995 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004453/1.687, allocations: 0.5943 MB / 0.9 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0333/1.72, allocations: 15.55 MB / 0.9152 GB, free: 14.54 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01109/1.731, allocations: 4.665 MB / 0.9198 GB, free: 9.828 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.009142/1.74, allocations: 2.908 MB / 0.9226 GB, free: 6.914 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001686/1.742, allocations: 359.4 kB / 0.923 GB, free: 6.562 MB / 0.6232 GB Notification: Performance of SimCode: time 1.012e-06/1.742, allocations: 0 / 0.923 GB, free: 6.562 MB / 0.6232 GB Notification: Performance of Templates: time 0.1252/1.867, allocations: 56.34 MB / 0.978 GB, free: 15.06 MB / 0.6857 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 9.019641235470772]