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.001834/0.001834, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002291/0.002291, allocations: 203 kB / 24.46 MB, free: 4.023 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.523/1.523, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2214/0.2214, allocations: 46.89 MB / 361.1 MB, free: 4.633 MB / 286.1 MB " [Timeout remaining time 180] 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.002314/0.002314, allocations: 83.86 kB / 0.4967 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3346, allocations: 65.98 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01813/0.3528, allocations: 16.35 MB / 0.5771 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.3648, allocations: 5.388 MB / 0.5824 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003086/0.3678, allocations: 95.75 kB / 0.5825 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008138/0.376, allocations: 4.236 MB / 0.5866 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007368/0.3833, allocations: 2.79 MB / 0.5894 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.3864, allocations: 1.275 MB / 0.5906 GB, free: 6.766 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01059/0.397, allocations: 7.722 MB / 0.5981 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005966/0.403, allocations: 4.355 MB / 0.6024 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004445/0.4074, allocations: 2.675 MB / 0.605 GB, free: 7.914 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00639/0.4138, allocations: 4.089 MB / 0.609 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00187/0.4157, allocations: 0.5938 MB / 0.6096 GB, free: 3.219 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004052/0.4197, allocations: 1.795 MB / 0.6113 GB, free: 1.422 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003775/0.4235, allocations: 3.373 MB / 0.6146 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005044/0.4285, allocations: 3.767 MB / 0.6183 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01635/0.4449, allocations: 12.35 MB / 0.6304 GB, free: 13.85 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4449, allocations: 0 / 0.6304 GB, free: 13.85 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4449, allocations: 0 / 0.6304 GB, free: 13.85 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005176/0.4454, allocations: 4 kB / 0.6304 GB, free: 13.85 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.02531/0.4707, allocations: 8.053 MB / 0.6382 GB, free: 5.695 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.4708, allocations: 8.031 kB / 0.6382 GB, free: 5.688 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01747/0.4882, allocations: 3.985 MB / 0.6421 GB, free: 1.691 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/0.5006, allocations: 4.25 MB / 0.6463 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000464/0.5011, allocations: 398 kB / 0.6467 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002571/0.5037, allocations: 0.5582 MB / 0.6472 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04205/0.5457, allocations: 18.88 MB / 0.6656 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003527/0.5461, allocations: 79.33 kB / 0.6657 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003071/0.5491, allocations: 247.8 kB / 0.666 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006905/0.556, allocations: 3.424 MB / 0.6693 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04141/0.5975, allocations: 16.64 MB / 0.6856 GB, free: 4.094 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.6623/1.26, allocations: 66.71 MB / 0.7507 GB, free: 110.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01557/1.275, allocations: 6.051 MB / 0.7566 GB, free: 109 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003517/1.279, allocations: 2.649 MB / 0.7592 GB, free: 108.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02259/1.301, allocations: 13.95 MB / 0.7728 GB, free: 101.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/1.301, allocations: 66.16 kB / 0.7729 GB, free: 101.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 7.494e-06/1.301, allocations: 0 / 0.7729 GB, free: 101.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.08487/1.386, allocations: 25.21 MB / 0.7975 GB, free: 81.5 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/1.386, allocations: 184.3 kB / 0.7977 GB, free: 81.28 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009495/1.396, allocations: 5.888 MB / 0.8034 GB, free: 75.53 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007262/1.397, allocations: 73.7 kB / 0.8035 GB, free: 75.45 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002946/1.4, allocations: 5.161 MB / 0.8085 GB, free: 70.58 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001723/1.401, allocations: 1.34 MB / 0.8099 GB, free: 69.25 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004511/1.406, allocations: 1.927 MB / 0.8117 GB, free: 67.32 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.759e-05/1.406, allocations: 301.1 kB / 0.812 GB, free: 67.02 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005416/1.411, allocations: 3.357 MB / 0.8153 GB, free: 63.66 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008041/1.419, allocations: 8.88 MB / 0.824 GB, free: 52.16 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01342/1.433, allocations: 13.19 MB / 0.8368 GB, free: 36.4 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001777/1.433, allocations: 56 kB / 0.8369 GB, free: 36.34 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02403/1.457, allocations: 13.01 MB / 0.8496 GB, free: 23.29 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001812/1.457, allocations: 91 kB / 0.8497 GB, free: 23.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002771/1.457, allocations: 192 kB / 0.8499 GB, free: 23.02 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003939/1.461, allocations: 1.33 MB / 0.8512 GB, free: 21.68 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007128/1.468, allocations: 2.203 MB / 0.8533 GB, free: 19.48 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/1.48, allocations: 7.859 MB / 0.861 GB, free: 11.48 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007733/1.487, allocations: 0.4995 MB / 0.8615 GB, free: 10.98 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001805/1.489, allocations: 0.5508 MB / 0.862 GB, free: 10.43 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.006295/1.495, allocations: 3.459 MB / 0.8654 GB, free: 6.957 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001503/1.497, allocations: 0.551 MB / 0.8659 GB, free: 6.402 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/1.508, allocations: 5.381 MB / 0.8712 GB, free: 0.9609 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.933e-05/1.508, allocations: 39.36 kB / 0.8712 GB, free: 0.9258 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.101e-05/1.508, allocations: 8 kB / 0.8712 GB, free: 0.918 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.791e-05/1.509, allocations: 15.94 kB / 0.8713 GB, free: 0.9023 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03538/1.544, allocations: 13.92 MB / 0.8849 GB, free: 2.766 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.902e-05/1.544, allocations: 12.94 kB / 0.8849 GB, free: 2.754 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002503/1.546, allocations: 0.4993 MB / 0.8854 GB, free: 2.254 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003607/1.55, allocations: 0.8093 MB / 0.8861 GB, free: 1.441 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003334/1.55, allocations: 64 kB / 0.8862 GB, free: 1.379 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/1.561, allocations: 5.815 MB / 0.8919 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.485e-05/1.561, allocations: 15.94 kB / 0.8919 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/1.577, allocations: 8.315 MB / 0.9 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001736/1.578, allocations: 0.5871 MB / 0.9006 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/1.58, allocations: 67.98 kB / 0.9007 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002845/1.583, allocations: 135.9 kB / 0.9008 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006634/1.583, allocations: 213.5 kB / 0.901 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003166/1.583, allocations: 115.7 kB / 0.9011 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007852/1.591, allocations: 3.643 MB / 0.9047 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/1.591, allocations: 0 / 0.9047 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00914/1.6, allocations: 1.625 MB / 0.9062 GB, free: 12.45 MB / 0.6075 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.001052/1.602, allocations: 265.5 kB / 0.9065 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01514/1.617, allocations: 7.597 MB / 0.9139 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/1.617, allocations: 0 / 0.9139 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004705/1.621, allocations: 2.226 MB / 0.9161 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005048/1.626, allocations: 0.6924 MB / 0.9168 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03302/1.659, allocations: 15.59 MB / 0.932 GB, free: 1.887 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01167/1.671, allocations: 5.156 MB / 0.937 GB, free: 12.69 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.009313/1.68, allocations: 2.962 MB / 0.9399 GB, free: 9.719 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/1.682, allocations: 383.4 kB / 0.9403 GB, free: 9.344 MB / 0.6388 GB Notification: Performance of SimCode: time 9.22e-07/1.682, allocations: 0 / 0.9403 GB, free: 9.344 MB / 0.6388 GB Notification: Performance of Templates: time 0.1216/1.804, allocations: 54.88 MB / 0.9939 GB, free: 2.75 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.138274347875267]