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.002764/0.002764, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002879/0.002879, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.593/1.593, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3614/0.3614, allocations: 34.26 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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.943e-06/1.943e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.359e-05, allocations: 4.703 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02218/0.02221, allocations: 15.57 MB / 392.8 MB, free: 3.289 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01392/0.03613, allocations: 5.236 MB / 398 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003796/0.03993, allocations: 111.5 kB / 398.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.05045, allocations: 4.45 MB / 402.6 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009393/0.05984, allocations: 2.904 MB / 405.5 MB, free: 6.547 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004052/0.06389, allocations: 1.415 MB / 406.9 MB, free: 5.129 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01417/0.07806, allocations: 8.809 MB / 415.7 MB, free: 12.3 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0101/0.08816, allocations: 5.663 MB / 421.3 MB, free: 6.559 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009869/0.09803, allocations: 4.148 MB / 425.5 MB, free: 2.402 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008092/0.1061, allocations: 4.318 MB / 429.8 MB, free: 14.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001886/0.108, allocations: 0.6055 MB / 430.4 MB, free: 13.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003957/0.112, allocations: 1.751 MB / 432.2 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004604/0.1166, allocations: 3.549 MB / 435.7 MB, free: 8.156 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005341/0.1219, allocations: 2.22 MB / 437.9 MB, free: 5.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2066/0.3285, allocations: 12.54 MB / 450.5 MB, free: 65.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.3285, allocations: 1.75 kB / 450.5 MB, free: 65.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3285, allocations: 2.875 kB / 450.5 MB, free: 65.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004701/0.329, allocations: 0 / 450.5 MB, free: 65.72 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.02442/0.3534, allocations: 9.416 MB / 459.9 MB, free: 62.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3535, allocations: 8.906 kB / 459.9 MB, free: 62.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0204/0.3739, allocations: 4.981 MB / 464.9 MB, free: 62.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/0.3854, allocations: 3.838 MB / 468.7 MB, free: 61.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.3858, allocations: 395.1 kB / 469.1 MB, free: 61.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002737/0.3885, allocations: 0.5542 MB / 469.7 MB, free: 61.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03298/0.4215, allocations: 12.09 MB / 481.8 MB, free: 55.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002246/0.4217, allocations: 74.7 kB / 481.8 MB, free: 55.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008139/0.4225, allocations: 249.5 kB / 482.1 MB, free: 55.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005642/0.4282, allocations: 3.42 MB / 485.5 MB, free: 54.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02497/0.4531, allocations: 7.465 MB / 493 MB, free: 53.7 MB / 410.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.09805/0.5512, allocations: 82.47 MB / 0.562 GB, free: 11.85 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01479/0.566, allocations: 3.521 MB / 0.5654 GB, free: 8.285 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002865/0.5688, allocations: 1.053 MB / 0.5664 GB, free: 7.227 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02469/0.5935, allocations: 8.083 MB / 0.5743 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.203e-05/0.5936, allocations: 70.67 kB / 0.5744 GB, free: 15.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=284): time 8.466e-06/0.5936, allocations: 0 / 0.5744 GB, free: 15.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=345): time 0.07545/0.6691, allocations: 19.05 MB / 0.593 GB, free: 12.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.6692, allocations: 188.1 kB / 0.5932 GB, free: 12.03 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01232/0.6816, allocations: 6.561 MB / 0.5996 GB, free: 5.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008059/0.6824, allocations: 73.7 kB / 0.5996 GB, free: 5.402 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1702/0.8526, allocations: 5.678 MB / 0.6052 GB, free: 143.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00184/0.8544, allocations: 1.477 MB / 0.6066 GB, free: 143.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003512/0.858, allocations: 2.417 MB / 0.609 GB, free: 143.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.392e-05/0.858, allocations: 483.7 kB / 0.6094 GB, free: 143.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003231/0.8612, allocations: 1.317 MB / 0.6107 GB, free: 143.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006511/0.8678, allocations: 9.817 MB / 0.6203 GB, free: 132.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01201/0.8798, allocations: 12.2 MB / 0.6322 GB, free: 121.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003314/0.8801, allocations: 53.59 kB / 0.6323 GB, free: 121.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02765/0.9078, allocations: 9.241 MB / 0.6413 GB, free: 119.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005574/0.9083, allocations: 87.94 kB / 0.6414 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006618/0.909, allocations: 192.1 kB / 0.6416 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00602/0.915, allocations: 1.246 MB / 0.6428 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008405/0.9234, allocations: 2.208 MB / 0.645 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/0.9346, allocations: 5.47 MB / 0.6503 GB, free: 115.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008328/0.9429, allocations: 0.5983 MB / 0.6509 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002141/0.9451, allocations: 0.554 MB / 0.6514 GB, free: 115.7 MB / 474.7 MB 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.006195/0.9513, allocations: 1.086 MB / 0.6525 GB, free: 114.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002048/0.9533, allocations: 0.5935 MB / 0.6531 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/0.9638, allocations: 3.175 MB / 0.6562 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.798e-05/0.9639, allocations: 40.98 kB / 0.6562 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.191e-05/0.9639, allocations: 4.578 kB / 0.6562 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.717e-05/0.964, allocations: 19.47 kB / 0.6562 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03591/0.9999, allocations: 11.95 MB / 0.6679 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-05/0.9999, allocations: 11.19 kB / 0.6679 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00247/1.002, allocations: 0.4981 MB / 0.6684 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004052/1.006, allocations: 0.7987 MB / 0.6692 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005445/1.007, allocations: 67.8 kB / 0.6692 GB, free: 107.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00731/1.014, allocations: 4.187 MB / 0.6733 GB, free: 103.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/1.014, allocations: 19.94 kB / 0.6733 GB, free: 103.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/1.027, allocations: 5.047 MB / 0.6783 GB, free: 98.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002193/1.029, allocations: 0.491 MB / 0.6788 GB, free: 98.01 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001675/1.031, allocations: 70.28 kB / 0.6788 GB, free: 97.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00335/1.034, allocations: 180.1 kB / 0.679 GB, free: 97.83 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007641/1.035, allocations: 227.4 kB / 0.6792 GB, free: 97.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003863/1.035, allocations: 102.9 kB / 0.6793 GB, free: 97.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006169/1.042, allocations: 2.632 MB / 0.6819 GB, free: 95.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.042, allocations: 4.031 kB / 0.6819 GB, free: 95.39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01014/1.052, allocations: 1.742 MB / 0.6836 GB, free: 93.65 MB / 474.7 MB 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.00113/1.053, allocations: 287.4 kB / 0.6839 GB, free: 93.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01283/1.066, allocations: 5.582 MB / 0.6893 GB, free: 88.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-05/1.066, allocations: 4 kB / 0.6893 GB, free: 88.38 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003545/1.069, allocations: 1.613 MB / 0.6909 GB, free: 86.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005196/1.074, allocations: 0.6337 MB / 0.6915 GB, free: 86.37 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02362/1.098, allocations: 13.23 MB / 0.7044 GB, free: 73.43 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004938/1.103, allocations: 4.223 MB / 0.7085 GB, free: 69.16 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005558/1.109, allocations: 2.486 MB / 0.711 GB, free: 66.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/1.11, allocations: 372.4 kB / 0.7113 GB, free: 66.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.673e-06/1.11, allocations: 0 / 0.7113 GB, free: 66.3 MB / 474.7 MB Notification: Performance of Templates: time 0.08482/1.195, allocations: 50.98 MB / 0.7611 GB, free: 16.12 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 240] 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: 8.562924030935392]