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.0008594/0.0008594, allocations: 88.28 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003663/0.003663, allocations: 154.2 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8614/0.8614, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.225/0.225, allocations: 34.25 MB / 295.6 MB, free: 0.6797 MB / 266.7 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 1.132e-06/1.132e-06, allocations: 0 / 443.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.914e-05, allocations: 2.281 kB / 443.4 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.1735/0.1735, allocations: 14.14 MB / 457.5 MB, free: 36.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006709/0.1803, allocations: 5.107 MB / 462.7 MB, free: 32.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.1813, allocations: 117.8 kB / 462.8 MB, free: 32.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003144/0.1844, allocations: 4.268 MB / 467 MB, free: 30.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.1875, allocations: 2.891 MB / 469.9 MB, free: 29.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.1889, allocations: 1.403 MB / 471.3 MB, free: 28.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004417/0.1933, allocations: 8.787 MB / 480.1 MB, free: 25.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003339/0.1966, allocations: 5.482 MB / 485.6 MB, free: 23.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004881/0.2015, allocations: 4.144 MB / 489.7 MB, free: 21.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004671/0.2062, allocations: 4.221 MB / 494 MB, free: 20.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008817/0.2071, allocations: 0.6137 MB / 494.6 MB, free: 20.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.2097, allocations: 1.74 MB / 496.3 MB, free: 20.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002475/0.2121, allocations: 3.525 MB / 499.8 MB, free: 18.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002019/0.2142, allocations: 2.208 MB / 0.4903 GB, free: 17.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0091/0.2233, allocations: 12.53 MB / 0.5025 GB, free: 9.305 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2233, allocations: 0 / 0.5025 GB, free: 9.305 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2233, allocations: 0 / 0.5025 GB, free: 9.305 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001628/0.2234, allocations: 0 / 0.5025 GB, free: 9.305 MB / 410.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.008949/0.2324, allocations: 8.069 MB / 0.5104 GB, free: 1.156 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.2324, allocations: 8.031 kB / 0.5104 GB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008497/0.2409, allocations: 4.087 MB / 0.5144 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006093/0.247, allocations: 4.166 MB / 0.5185 GB, free: 8.828 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.2472, allocations: 398.3 kB / 0.5188 GB, free: 8.438 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008671/0.2481, allocations: 0.5542 MB / 0.5194 GB, free: 7.883 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02334/0.2714, allocations: 18.96 MB / 0.5379 GB, free: 3.855 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.2716, allocations: 67.44 kB / 0.538 GB, free: 3.789 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005083/0.2721, allocations: 251.8 kB / 0.5382 GB, free: 3.543 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003698/0.2758, allocations: 3.424 MB / 0.5416 GB, free: 116 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0238/0.2996, allocations: 16.64 MB / 0.5578 GB, free: 15.46 MB / 474.7 MB 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.06017/0.3597, allocations: 62.41 MB / 0.6187 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009195/0.3689, allocations: 5.353 MB / 0.624 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002745/0.3717, allocations: 2.653 MB / 0.6266 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3765/0.7482, allocations: 10.87 MB / 0.6372 GB, free: 143.8 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.7482, allocations: 61.72 kB / 0.6372 GB, free: 143.7 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=284): time 6.673e-06/0.7482, allocations: 3.375 kB / 0.6372 GB, free: 143.7 MB / 0.5262 GB Notification: Performance of matching and sorting (n=345): time 0.04803/0.7962, allocations: 26.04 MB / 0.6627 GB, free: 136.5 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.494e-05/0.7963, allocations: 186.4 kB / 0.6628 GB, free: 136.3 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007404/0.8037, allocations: 5.857 MB / 0.6686 GB, free: 134.3 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0007173/0.8044, allocations: 81.55 kB / 0.6686 GB, free: 134.2 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002451/0.8069, allocations: 5.136 MB / 0.6737 GB, free: 130.6 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001464/0.8084, allocations: 1.322 MB / 0.6749 GB, free: 129.6 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002077/0.8104, allocations: 1.897 MB / 0.6768 GB, free: 128.7 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.276e-05/0.8105, allocations: 301.1 kB / 0.6771 GB, free: 128.4 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004154/0.8146, allocations: 3.359 MB / 0.6804 GB, free: 127.3 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006341/0.821, allocations: 8.905 MB / 0.6891 GB, free: 118.8 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/0.8317, allocations: 13.18 MB / 0.7019 GB, free: 107.9 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001769/0.8319, allocations: 58.47 kB / 0.702 GB, free: 107.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02173/0.8536, allocations: 12.98 MB / 0.7147 GB, free: 99.82 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.8537, allocations: 88.89 kB / 0.7148 GB, free: 99.74 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000192/0.8539, allocations: 192.8 kB / 0.7149 GB, free: 99.55 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002764/0.8567, allocations: 1.319 MB / 0.7162 GB, free: 98.53 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00488/0.8615, allocations: 2.208 MB / 0.7184 GB, free: 96.61 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007229/0.8688, allocations: 7.611 MB / 0.7258 GB, free: 89.81 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006683/0.8754, allocations: 0.588 MB / 0.7264 GB, free: 89.33 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/0.8768, allocations: 0.55 MB / 0.7269 GB, free: 88.79 MB / 0.5262 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.005811/0.8826, allocations: 3.444 MB / 0.7303 GB, free: 85.77 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/0.8838, allocations: 0.5006 MB / 0.7308 GB, free: 85.27 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006205/0.89, allocations: 5.345 MB / 0.736 GB, free: 80.81 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.419e-05/0.8901, allocations: 43.12 kB / 0.736 GB, free: 80.77 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/0.8901, allocations: 5.078 kB / 0.736 GB, free: 80.77 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/0.8901, allocations: 19.05 kB / 0.7361 GB, free: 80.76 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01669/0.9068, allocations: 11.69 MB / 0.7475 GB, free: 70.38 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.9068, allocations: 12 kB / 0.7475 GB, free: 70.37 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.9079, allocations: 0.4957 MB / 0.748 GB, free: 69.88 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001627/0.9096, allocations: 0.8194 MB / 0.7488 GB, free: 69.07 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/0.9097, allocations: 71.98 kB / 0.7488 GB, free: 69 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004846/0.9146, allocations: 5.579 MB / 0.7543 GB, free: 63.32 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.9146, allocations: 15.94 kB / 0.7543 GB, free: 63.3 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008458/0.923, allocations: 8.249 MB / 0.7624 GB, free: 54.77 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/0.9247, allocations: 0.5003 MB / 0.7629 GB, free: 54.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005298/0.9252, allocations: 71.64 kB / 0.7629 GB, free: 54.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.9265, allocations: 179.8 kB / 0.7631 GB, free: 54.02 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000303/0.9268, allocations: 233.3 kB / 0.7633 GB, free: 53.79 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.9269, allocations: 107.8 kB / 0.7634 GB, free: 53.69 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.003688/0.9306, allocations: 3.405 MB / 0.7667 GB, free: 50.3 MB / 0.5262 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9306, allocations: 0 / 0.7667 GB, free: 50.3 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.007315/0.9379, allocations: 1.746 MB / 0.7684 GB, free: 48.55 MB / 0.5262 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.0007071/0.9386, allocations: 287.3 kB / 0.7687 GB, free: 48.27 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.008861/0.9475, allocations: 7.584 MB / 0.7761 GB, free: 40.7 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/0.9475, allocations: 8.062 kB / 0.7761 GB, free: 40.7 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.002334/0.9498, allocations: 2.214 MB / 0.7783 GB, free: 38.46 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/0.9528, allocations: 0.5892 MB / 0.7789 GB, free: 37.9 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02076/0.9735, allocations: 16.2 MB / 0.7947 GB, free: 21.5 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004147/0.9777, allocations: 4.662 MB / 0.7992 GB, free: 16.8 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/0.9792, allocations: 444.4 kB / 0.7997 GB, free: 16.37 MB / 0.5262 GB Notification: Performance of SimCode: time 1.884e-06/0.9792, allocations: 3.938 kB / 0.7997 GB, free: 16.37 MB / 0.5262 GB Notification: Performance of Templates: time 0.3259/1.305, allocations: 128 MB / 0.9247 GB, free: 117.9 MB / 0.5574 GB " [Timeout remaining time 659] 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: 12.303583140484989]