Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008069/0.0008069, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003091/0.003091, allocations: 161.2 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8955/0.8955, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2597/0.2597, allocations: 32.79 MB / 294.2 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.498e-05, allocations: 12.27 kB / 440.8 MB, free: 3.758 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.185/0.185, allocations: 14.14 MB / 455 MB, free: 38.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006589/0.1916, allocations: 5.111 MB / 460.1 MB, free: 35.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.1927, allocations: 114.3 kB / 460.2 MB, free: 35.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003184/0.1959, allocations: 4.265 MB / 464.5 MB, free: 33.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.199, allocations: 2.896 MB / 467.4 MB, free: 32.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.2003, allocations: 1.398 MB / 468.8 MB, free: 31.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004644/0.205, allocations: 8.789 MB / 477.5 MB, free: 28.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003207/0.2082, allocations: 5.486 MB / 483 MB, free: 26.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003759/0.212, allocations: 4.133 MB / 487.2 MB, free: 24.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004804/0.2168, allocations: 4.22 MB / 491.4 MB, free: 23.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008297/0.2176, allocations: 0.6107 MB / 492 MB, free: 23.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.2199, allocations: 1.749 MB / 493.7 MB, free: 22.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002514/0.2225, allocations: 3.525 MB / 497.3 MB, free: 21.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001978/0.2244, allocations: 2.214 MB / 499.5 MB, free: 20.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009775/0.2342, allocations: 12.52 MB / 0.5 GB, free: 12.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2342, allocations: 3.938 kB / 0.5 GB, free: 12.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2342, allocations: 0 / 0.5 GB, free: 12.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001512/0.2344, allocations: 0 / 0.5 GB, free: 12.32 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.009334/0.2437, allocations: 8.064 MB / 0.5079 GB, free: 5.152 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2437, allocations: 8.031 kB / 0.5079 GB, free: 5.145 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007419/0.2512, allocations: 4.087 MB / 0.5119 GB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005039/0.2562, allocations: 4.162 MB / 0.516 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/0.2564, allocations: 398.5 kB / 0.5163 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007409/0.2571, allocations: 0.5659 MB / 0.5169 GB, free: 11.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0213/0.2784, allocations: 18.95 MB / 0.5354 GB, free: 7.855 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001159/0.2786, allocations: 67.5 kB / 0.5355 GB, free: 7.789 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004658/0.279, allocations: 251.7 kB / 0.5357 GB, free: 7.543 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002969/0.282, allocations: 3.432 MB / 0.539 GB, free: 4.105 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02079/0.3028, allocations: 16.64 MB / 0.5553 GB, free: 3.457 MB / 458.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.06029/0.3631, allocations: 62.41 MB / 0.6162 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009378/0.3724, allocations: 5.346 MB / 0.6215 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00239/0.3748, allocations: 2.642 MB / 0.624 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01457/0.3894, allocations: 10.87 MB / 0.6347 GB, free: 416 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/0.3895, allocations: 72.5 kB / 0.6347 GB, free: 336 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=284): time 7.013e-06/0.3895, allocations: 0 / 0.6347 GB, free: 336 kB / 0.5261 GB Notification: Performance of matching and sorting (n=345): time 0.2232/0.6127, allocations: 26.04 MB / 0.6602 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.6128, allocations: 185.2 kB / 0.6603 GB, free: 144 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005974/0.6187, allocations: 5.858 MB / 0.6661 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002212/0.619, allocations: 72.77 kB / 0.6661 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001813/0.6208, allocations: 5.137 MB / 0.6711 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000703/0.6215, allocations: 1.326 MB / 0.6724 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001735/0.6232, allocations: 1.891 MB / 0.6743 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 2.858e-05/0.6232, allocations: 309.1 kB / 0.6746 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003174/0.6264, allocations: 3.355 MB / 0.6779 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004924/0.6313, allocations: 8.904 MB / 0.6865 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009457/0.6408, allocations: 13.19 MB / 0.6994 GB, free: 115 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.1e-05/0.6409, allocations: 54.5 kB / 0.6995 GB, free: 115 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.01353/0.6544, allocations: 12.98 MB / 0.7122 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.539e-05/0.6545, allocations: 84 kB / 0.7122 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-05/0.6546, allocations: 203.8 kB / 0.7124 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002165/0.6567, allocations: 1.316 MB / 0.7137 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003295/0.66, allocations: 2.208 MB / 0.7159 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006969/0.667, allocations: 7.615 MB / 0.7233 GB, free: 97.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004605/0.6716, allocations: 0.5774 MB / 0.7239 GB, free: 96.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004389/0.672, allocations: 0.5586 MB / 0.7244 GB, free: 96.29 MB / 0.5261 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.003779/0.6758, allocations: 3.448 MB / 0.7278 GB, free: 93.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005173/0.6763, allocations: 0.5079 MB / 0.7283 GB, free: 92.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005488/0.6818, allocations: 5.343 MB / 0.7335 GB, free: 88.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.6818, allocations: 39.59 kB / 0.7335 GB, free: 88.28 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.6819, allocations: 8 kB / 0.7335 GB, free: 88.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/0.6819, allocations: 14.48 kB / 0.7336 GB, free: 88.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/0.6951, allocations: 11.69 MB / 0.745 GB, free: 78.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.6951, allocations: 8 kB / 0.745 GB, free: 78.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.6962, allocations: 0.5036 MB / 0.7455 GB, free: 77.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001591/0.6977, allocations: 0.8185 MB / 0.7463 GB, free: 76.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.6979, allocations: 67.98 kB / 0.7463 GB, free: 76.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004739/0.7026, allocations: 5.585 MB / 0.7518 GB, free: 71.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.7026, allocations: 15.94 kB / 0.7518 GB, free: 71.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007131/0.7097, allocations: 8.235 MB / 0.7598 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008693/0.7106, allocations: 0.4965 MB / 0.7603 GB, free: 62.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003428/0.711, allocations: 67.84 kB / 0.7604 GB, free: 62.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.7121, allocations: 194.1 kB / 0.7606 GB, free: 61.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/0.7123, allocations: 225.4 kB / 0.7608 GB, free: 61.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.7125, allocations: 107.5 kB / 0.7609 GB, free: 61.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002914/0.7154, allocations: 3.405 MB / 0.7642 GB, free: 58.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7154, allocations: 0 / 0.7642 GB, free: 58.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00531/0.7207, allocations: 1.75 MB / 0.7659 GB, free: 56.38 MB / 0.5261 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.0004724/0.7212, allocations: 287.3 kB / 0.7662 GB, free: 56.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006939/0.7281, allocations: 7.592 MB / 0.7736 GB, free: 48.53 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.7281, allocations: 8.188 kB / 0.7736 GB, free: 48.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.7299, allocations: 2.207 MB / 0.7758 GB, free: 46.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.7317, allocations: 0.6022 MB / 0.7764 GB, free: 45.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.7476, allocations: 16.2 MB / 0.7922 GB, free: 29.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003285/0.7509, allocations: 4.667 MB / 0.7967 GB, free: 24.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/0.752, allocations: 440.4 kB / 0.7972 GB, free: 24.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.363e-06/0.752, allocations: 0 / 0.7972 GB, free: 24.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.2879/1.04, allocations: 128 MB / 0.9221 GB, free: 125.5 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 10.719225829467177]