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.002387/0.002387, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002817/0.002817, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.597/1.597, allocations: 177.1 MB / 204.6 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 178] 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.406/0.406, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] 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.242e-06/1.242e-06, allocations: 0 / 375.2 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.906e-05, allocations: 6.25 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02232/0.02235, allocations: 15.57 MB / 390.8 MB, free: 5.32 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.03537, allocations: 5.232 MB / 396.1 MB, free: 72 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003224/0.03859, allocations: 115.5 kB / 396.2 MB, free: 15.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009946/0.04853, allocations: 4.458 MB / 400.6 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008208/0.05674, allocations: 2.908 MB / 403.5 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003817/0.06056, allocations: 1.415 MB / 404.9 MB, free: 7.145 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01378/0.07434, allocations: 8.788 MB / 413.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01071/0.08505, allocations: 5.667 MB / 419.4 MB, free: 8.59 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01549/0.1005, allocations: 4.152 MB / 423.6 MB, free: 4.43 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01388/0.1144, allocations: 4.318 MB / 427.9 MB, free: 104 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003424/0.1178, allocations: 0.6055 MB / 428.5 MB, free: 15.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008236/0.1261, allocations: 1.748 MB / 430.2 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008882/0.135, allocations: 3.545 MB / 433.8 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008468/0.1434, allocations: 2.224 MB / 436 MB, free: 7.961 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2191/0.3625, allocations: 12.54 MB / 448.5 MB, free: 65.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.3625, allocations: 2.875 kB / 448.5 MB, free: 65.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3625, allocations: 0 / 448.5 MB, free: 65.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005755/0.3631, allocations: 0 / 448.5 MB, free: 65.95 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.02637/0.3895, allocations: 9.417 MB / 458 MB, free: 62.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3895, allocations: 8.938 kB / 458 MB, free: 62.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02613/0.4156, allocations: 4.98 MB / 462.9 MB, free: 62.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01569/0.4313, allocations: 3.839 MB / 466.8 MB, free: 61.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005905/0.4319, allocations: 397.6 kB / 467.2 MB, free: 61.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003537/0.4355, allocations: 0.5499 MB / 467.7 MB, free: 61.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0453/0.4808, allocations: 12.09 MB / 479.8 MB, free: 55.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004772/0.4812, allocations: 73.11 kB / 479.9 MB, free: 55.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002129/0.4834, allocations: 247.8 kB / 480.1 MB, free: 55.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007916/0.4913, allocations: 3.423 MB / 483.6 MB, free: 55.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02856/0.5198, allocations: 7.461 MB / 491 MB, free: 54.32 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.09938/0.6192, allocations: 82.48 MB / 0.5601 GB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01563/0.6349, allocations: 3.518 MB / 0.5635 GB, free: 10.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003232/0.6381, allocations: 1.053 MB / 0.5645 GB, free: 9.109 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02688/0.665, allocations: 8.093 MB / 0.5724 GB, free: 1.105 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.585e-05/0.6651, allocations: 62.77 kB / 0.5725 GB, free: 1.039 MB / 442.7 MB Notification: Performance of pre-optimization done (n=284): time 6.372e-06/0.6651, allocations: 0 / 0.5725 GB, free: 1.039 MB / 442.7 MB Notification: Performance of matching and sorting (n=345): time 0.08143/0.7465, allocations: 19.06 MB / 0.5911 GB, free: 14.13 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001725/0.7467, allocations: 192.3 kB / 0.5913 GB, free: 13.91 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01319/0.7598, allocations: 6.554 MB / 0.5977 GB, free: 7.363 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009102/0.7608, allocations: 76.83 kB / 0.5977 GB, free: 7.285 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007317/0.7681, allocations: 5.684 MB / 0.6033 GB, free: 1.641 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002772/0.7708, allocations: 1.479 MB / 0.6047 GB, free: 184 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.21/0.9809, allocations: 2.412 MB / 0.6071 GB, free: 142.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.73e-05/0.9809, allocations: 480.5 kB / 0.6076 GB, free: 142.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003174/0.9841, allocations: 1.32 MB / 0.6088 GB, free: 142 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007185/0.9913, allocations: 9.818 MB / 0.6184 GB, free: 131.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/1.003, allocations: 12.2 MB / 0.6303 GB, free: 120.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002821/1.004, allocations: 57.38 kB / 0.6304 GB, free: 120.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02036/1.024, allocations: 9.238 MB / 0.6394 GB, free: 118.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/1.024, allocations: 88.69 kB / 0.6395 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002187/1.024, allocations: 195 kB / 0.6397 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00479/1.029, allocations: 1.237 MB / 0.6409 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007845/1.037, allocations: 2.213 MB / 0.6431 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009993/1.047, allocations: 5.485 MB / 0.6484 GB, free: 115.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00753/1.054, allocations: 0.591 MB / 0.649 GB, free: 115.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001641/1.056, allocations: 0.549 MB / 0.6495 GB, free: 115.4 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.003799/1.06, allocations: 1.083 MB / 0.6506 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001331/1.061, allocations: 0.5931 MB / 0.6512 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008488/1.07, allocations: 3.174 MB / 0.6543 GB, free: 113.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.922e-05/1.07, allocations: 38.53 kB / 0.6543 GB, free: 113.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.07, allocations: 7.781 kB / 0.6543 GB, free: 113.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.721e-05/1.07, allocations: 13.73 kB / 0.6543 GB, free: 113.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0279/1.098, allocations: 11.96 MB / 0.666 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-05/1.098, allocations: 13.62 kB / 0.666 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002451/1.1, allocations: 0.4935 MB / 0.6665 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004116/1.104, allocations: 0.7938 MB / 0.6673 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000437/1.105, allocations: 70.45 kB / 0.6673 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007142/1.112, allocations: 4.188 MB / 0.6714 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/1.112, allocations: 22.17 kB / 0.6714 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/1.122, allocations: 5.04 MB / 0.6764 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/1.124, allocations: 0.4921 MB / 0.6769 GB, free: 99.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008575/1.125, allocations: 63.84 kB / 0.6769 GB, free: 99.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/1.127, allocations: 183.9 kB / 0.6771 GB, free: 99.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005017/1.127, allocations: 234.6 kB / 0.6773 GB, free: 99.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/1.128, allocations: 103.9 kB / 0.6774 GB, free: 99.57 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004223/1.132, allocations: 2.629 MB / 0.68 GB, free: 97.37 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/1.132, allocations: 0 / 0.68 GB, free: 97.37 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007982/1.14, allocations: 1.749 MB / 0.6817 GB, free: 95.64 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.0007266/1.141, allocations: 290.2 kB / 0.682 GB, free: 95.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01/1.151, allocations: 5.575 MB / 0.6874 GB, free: 90.39 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/1.151, allocations: 5.812 kB / 0.6874 GB, free: 90.38 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002752/1.153, allocations: 1.616 MB / 0.689 GB, free: 88.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003507/1.157, allocations: 0.6367 MB / 0.6896 GB, free: 88.37 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02046/1.177, allocations: 13.22 MB / 0.7025 GB, free: 75.93 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004679/1.182, allocations: 4.213 MB / 0.7066 GB, free: 72.56 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005427/1.187, allocations: 2.494 MB / 0.7091 GB, free: 70.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/1.188, allocations: 376.4 kB / 0.7094 GB, free: 69.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.723e-06/1.188, allocations: 0 / 0.7094 GB, free: 69.7 MB / 474.7 MB Notification: Performance of Templates: time 0.0882/1.277, allocations: 50.98 MB / 0.7592 GB, free: 19.56 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 240] 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: 8.830623160931282]