Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 101.7 kB / 16.94 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 191.6 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2151/0.2151, allocations: 43.52 MB / 314.6 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 74 kB / 383.4 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1044, allocations: 57.79 MB / 441.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01638/0.1208, allocations: 16.37 MB / 457.6 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01261/0.1335, allocations: 5.299 MB / 462.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003884/0.1374, allocations: 95.75 kB / 463 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008443/0.1459, allocations: 4.189 MB / 467.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008431/0.1544, allocations: 2.747 MB / 469.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003531/0.158, allocations: 1.263 MB / 471.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01117/0.1692, allocations: 7.454 MB / 478.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008479/0.1777, allocations: 5.856 MB / 484.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005606/0.1834, allocations: 2.691 MB / 487.2 MB, free: 8.719 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006565/0.19, allocations: 3.786 MB / 490.9 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002398/0.1924, allocations: 0.5938 MB / 491.5 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004772/0.1972, allocations: 1.756 MB / 493.3 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005034/0.2023, allocations: 3.331 MB / 496.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007461/0.2098, allocations: 3.803 MB / 0.4887 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01597/0.2258, allocations: 11.97 MB / 0.5004 GB, free: 15.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.2258, allocations: 4 kB / 0.5004 GB, free: 15.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2258, allocations: 0 / 0.5004 GB, free: 15.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004992/0.2264, allocations: 4 kB / 0.5004 GB, free: 15.38 MB / 398.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.02258/0.2489, allocations: 7.898 MB / 0.5081 GB, free: 7.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.7e-05/0.249, allocations: 11.89 kB / 0.5081 GB, free: 7.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01729/0.2663, allocations: 3.937 MB / 0.512 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.2767, allocations: 4.409 MB / 0.5163 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005202/0.2773, allocations: 393.9 kB / 0.5166 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00244/0.2797, allocations: 0.5542 MB / 0.5172 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2552/0.5349, allocations: 18.87 MB / 0.5356 GB, free: 77.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002372/0.5352, allocations: 69.38 kB / 0.5357 GB, free: 77.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001198/0.5364, allocations: 249.7 kB / 0.5359 GB, free: 77.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005963/0.5424, allocations: 3.431 MB / 0.5393 GB, free: 77.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03381/0.5762, allocations: 16.63 MB / 0.5555 GB, free: 70.98 MB / 414.1 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.07511/0.6514, allocations: 66.93 MB / 0.6209 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01461/0.666, allocations: 6.271 MB / 0.627 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004511/0.6706, allocations: 2.821 MB / 0.6297 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02354/0.6942, allocations: 13.87 MB / 0.6433 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.149e-05/0.6943, allocations: 56.56 kB / 0.6433 GB, free: 13.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=284): time 6.161e-06/0.6943, allocations: 7.938 kB / 0.6433 GB, free: 13.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=345): time 0.0905/0.7848, allocations: 25.08 MB / 0.6678 GB, free: 3.918 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.7849, allocations: 196.3 kB / 0.668 GB, free: 3.688 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009669/0.7946, allocations: 5.908 MB / 0.6738 GB, free: 13.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006926/0.7953, allocations: 73.61 kB / 0.6739 GB, free: 13.72 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004133/0.7995, allocations: 4.958 MB / 0.6787 GB, free: 8.695 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001829/0.8013, allocations: 1.288 MB / 0.68 GB, free: 7.391 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003147/0.8045, allocations: 1.904 MB / 0.6818 GB, free: 5.473 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.8046, allocations: 313.1 kB / 0.6821 GB, free: 5.164 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005978/0.8106, allocations: 3.353 MB / 0.6854 GB, free: 1.805 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01135/0.822, allocations: 8.869 MB / 0.6941 GB, free: 6.227 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01791/0.8399, allocations: 13.18 MB / 0.7069 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002773/0.8403, allocations: 56 kB / 0.707 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02971/0.87, allocations: 13.01 MB / 0.7197 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.8702, allocations: 84.97 kB / 0.7198 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002914/0.8705, allocations: 196 kB / 0.72 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004664/0.8752, allocations: 1.325 MB / 0.7212 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007727/0.8829, allocations: 2.203 MB / 0.7234 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.262/1.145, allocations: 7.845 MB / 0.7311 GB, free: 163.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007617/1.153, allocations: 0.5021 MB / 0.7315 GB, free: 163.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001768/1.154, allocations: 0.5521 MB / 0.7321 GB, free: 163.8 MB / 0.5137 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.007656/1.162, allocations: 3.458 MB / 0.7355 GB, free: 163.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001333/1.163, allocations: 0.5229 MB / 0.736 GB, free: 163.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/1.176, allocations: 5.409 MB / 0.7413 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.289e-05/1.176, allocations: 36.31 kB / 0.7413 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-05/1.176, allocations: 6.531 kB / 0.7413 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.907e-05/1.176, allocations: 15.88 kB / 0.7413 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03088/1.207, allocations: 14.02 MB / 0.755 GB, free: 156.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.504e-05/1.207, allocations: 11 kB / 0.755 GB, free: 156.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002354/1.209, allocations: 0.489 MB / 0.7555 GB, free: 156.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003343/1.213, allocations: 0.8215 MB / 0.7563 GB, free: 156.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004538/1.213, allocations: 76.09 kB / 0.7564 GB, free: 156.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008514/1.222, allocations: 5.81 MB / 0.762 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.574e-05/1.222, allocations: 20.23 kB / 0.7621 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01336/1.235, allocations: 8.277 MB / 0.7701 GB, free: 150 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002617/1.238, allocations: 0.9333 MB / 0.7711 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001192/1.239, allocations: 66.19 kB / 0.7711 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/1.242, allocations: 134.4 kB / 0.7712 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005048/1.242, allocations: 213.2 kB / 0.7714 GB, free: 149.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002207/1.242, allocations: 108.5 kB / 0.7715 GB, free: 149.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005767/1.248, allocations: 3.671 MB / 0.7751 GB, free: 148.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.71e-07/1.248, allocations: 0 / 0.7751 GB, free: 148.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009004/1.257, allocations: 1.658 MB / 0.7768 GB, free: 147.7 MB / 0.5137 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.00088/1.258, allocations: 270.9 kB / 0.777 GB, free: 147.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0187/1.277, allocations: 11.31 MB / 0.7881 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/1.277, allocations: 0 / 0.7881 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003583/1.281, allocations: 2.39 MB / 0.7904 GB, free: 134.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004353/1.285, allocations: 0.6916 MB / 0.7911 GB, free: 134.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02503/1.31, allocations: 16.16 MB / 0.8069 GB, free: 117.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00663/1.317, allocations: 5.146 MB / 0.8119 GB, free: 112.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001704/1.318, allocations: 455.4 kB / 0.8123 GB, free: 112.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.122e-06/1.318, allocations: 0 / 0.8123 GB, free: 112.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.3905/1.709, allocations: 126.2 MB / 0.9356 GB, free: 156.8 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches