Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001827/0.001827, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002642/0.002642, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.551/1.551, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2898/0.2898, allocations: 46.95 MB / 361.4 MB, free: 4.402 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 79.88 kB / 0.4971 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4163, allocations: 66.05 MB / 0.5616 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02163/0.438, allocations: 16.35 MB / 0.5776 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01332/0.4513, allocations: 5.4 MB / 0.5829 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003554/0.4548, allocations: 115.4 kB / 0.583 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008993/0.4638, allocations: 4.232 MB / 0.5871 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008788/0.4726, allocations: 2.805 MB / 0.5899 GB, free: 7.531 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.4759, allocations: 1.267 MB / 0.5911 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01244/0.4884, allocations: 7.743 MB / 0.5987 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006939/0.4953, allocations: 4.356 MB / 0.6029 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005818/0.5011, allocations: 2.707 MB / 0.6056 GB, free: 7.355 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007193/0.5083, allocations: 4.089 MB / 0.6096 GB, free: 3.254 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001964/0.5103, allocations: 0.5938 MB / 0.6101 GB, free: 2.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004457/0.5147, allocations: 1.799 MB / 0.6119 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004264/0.519, allocations: 3.374 MB / 0.6152 GB, free: 13.47 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005517/0.5245, allocations: 3.771 MB / 0.6189 GB, free: 9.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01728/0.5418, allocations: 12.35 MB / 0.6309 GB, free: 13.29 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5418, allocations: 0 / 0.6309 GB, free: 13.29 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5418, allocations: 0 / 0.6309 GB, free: 13.29 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000384/0.5422, allocations: 3.969 kB / 0.6309 GB, free: 13.29 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: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02075/0.5629, allocations: 7.974 MB / 0.6387 GB, free: 5.234 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.563, allocations: 8.031 kB / 0.6387 GB, free: 5.227 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/0.5785, allocations: 3.989 MB / 0.6426 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/0.5888, allocations: 4.159 MB / 0.6467 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004064/0.5892, allocations: 410 kB / 0.6471 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00203/0.5912, allocations: 0.5504 MB / 0.6476 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04212/0.6333, allocations: 18.88 MB / 0.666 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002648/0.6336, allocations: 75.39 kB / 0.6661 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001358/0.6349, allocations: 247.8 kB / 0.6664 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006294/0.6412, allocations: 3.424 MB / 0.6697 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03851/0.6797, allocations: 16.66 MB / 0.686 GB, free: 3.711 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.6955/1.375, allocations: 66.76 MB / 0.7512 GB, free: 110 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01524/1.39, allocations: 5.133 MB / 0.7562 GB, free: 109.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003835/1.394, allocations: 2.647 MB / 0.7588 GB, free: 109.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02011/1.414, allocations: 11.27 MB / 0.7698 GB, free: 106 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/1.414, allocations: 63.28 kB / 0.7698 GB, free: 106 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 7.183e-06/1.414, allocations: 0 / 0.7698 GB, free: 106 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07924/1.494, allocations: 25.06 MB / 0.7943 GB, free: 85.64 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/1.494, allocations: 187.6 kB / 0.7945 GB, free: 85.42 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00744/1.501, allocations: 5.887 MB / 0.8002 GB, free: 79.68 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0006088/1.502, allocations: 73.7 kB / 0.8003 GB, free: 79.6 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002479/1.504, allocations: 5.154 MB / 0.8053 GB, free: 74.72 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001355/1.506, allocations: 1.341 MB / 0.8066 GB, free: 73.39 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002294/1.508, allocations: 1.929 MB / 0.8085 GB, free: 71.46 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/1.508, allocations: 305.1 kB / 0.8088 GB, free: 71.16 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004633/1.513, allocations: 3.361 MB / 0.8121 GB, free: 67.79 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007569/1.52, allocations: 8.877 MB / 0.8208 GB, free: 56.29 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01317/1.533, allocations: 13.18 MB / 0.8336 GB, free: 40.53 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001967/1.534, allocations: 56 kB / 0.8337 GB, free: 40.48 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02479/1.558, allocations: 13.02 MB / 0.8464 GB, free: 27.41 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003139/1.559, allocations: 84.97 kB / 0.8465 GB, free: 27.32 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004813/1.559, allocations: 196 kB / 0.8467 GB, free: 27.13 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004501/1.564, allocations: 1.314 MB / 0.848 GB, free: 25.82 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007619/1.571, allocations: 2.207 MB / 0.8501 GB, free: 23.61 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/1.582, allocations: 7.741 MB / 0.8577 GB, free: 15.75 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00713/1.59, allocations: 0.503 MB / 0.8582 GB, free: 15.25 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001687/1.591, allocations: 0.5508 MB / 0.8587 GB, free: 14.7 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.006124/1.597, allocations: 3.452 MB / 0.8621 GB, free: 11.24 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/1.599, allocations: 0.5483 MB / 0.8626 GB, free: 10.69 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/1.611, allocations: 5.388 MB / 0.8679 GB, free: 5.238 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.294e-05/1.611, allocations: 40 kB / 0.8679 GB, free: 5.199 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-05/1.611, allocations: 4 kB / 0.8679 GB, free: 5.195 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.814e-05/1.611, allocations: 15.95 kB / 0.8679 GB, free: 5.18 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0337/1.645, allocations: 13.89 MB / 0.8815 GB, free: 7.074 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.593e-05/1.645, allocations: 20.12 kB / 0.8815 GB, free: 7.055 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002575/1.648, allocations: 0.4954 MB / 0.882 GB, free: 6.559 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003631/1.651, allocations: 0.8085 MB / 0.8828 GB, free: 5.746 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000456/1.652, allocations: 71.98 kB / 0.8829 GB, free: 5.676 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/1.662, allocations: 5.705 MB / 0.8884 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-05/1.662, allocations: 15.94 kB / 0.8884 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01734/1.68, allocations: 8.326 MB / 0.8966 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/1.682, allocations: 0.515 MB / 0.8971 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/1.683, allocations: 72.05 kB / 0.8971 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002867/1.686, allocations: 131.8 kB / 0.8973 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007184/1.686, allocations: 237.2 kB / 0.8975 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003177/1.687, allocations: 100 kB / 0.8976 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007895/1.695, allocations: 3.65 MB / 0.9012 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.695, allocations: 0 / 0.9012 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009355/1.704, allocations: 1.617 MB / 0.9027 GB, free: 0.957 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.00117/1.705, allocations: 270.3 kB / 0.903 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01627/1.721, allocations: 7.58 MB / 0.9104 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/1.721, allocations: 4 kB / 0.9104 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005251/1.727, allocations: 2.22 MB / 0.9126 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006092/1.733, allocations: 0.6971 MB / 0.9132 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03737/1.77, allocations: 15.6 MB / 0.9285 GB, free: 6.41 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009664/1.78, allocations: 5.16 MB / 0.9335 GB, free: 1.211 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.007971/1.788, allocations: 2.962 MB / 0.9364 GB, free: 14.24 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/1.789, allocations: 379.4 kB / 0.9368 GB, free: 13.87 MB / 0.6388 GB Notification: Performance of SimCode: time 1.212e-06/1.789, allocations: 3.938 kB / 0.9368 GB, free: 13.86 MB / 0.6388 GB Notification: Performance of Templates: time 0.1259/1.915, allocations: 59 MB / 0.9944 GB, free: 3.129 MB / 0.6857 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.923633488826454]