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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_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.001006/0.001005, allocations: 98.91 kB / 17.63 MB, free: 5.523 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.001059/0.001059, allocations: 195.9 kB / 18.56 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2011/0.2011, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 64.78 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1312, allocations: 60.83 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.0161/0.1474, allocations: 16.27 MB / 485.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.1596, allocations: 5.353 MB / 490.9 MB, free: 8.652 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004558/0.1642, allocations: 95.75 kB / 491 MB, free: 8.559 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008457/0.1727, allocations: 4.174 MB / 495.1 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009589/0.1824, allocations: 2.751 MB / 497.9 MB, free: 1.609 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003512/0.1859, allocations: 1.264 MB / 499.2 MB, free: 352 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01174/0.1977, allocations: 7.589 MB / 0.4949 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009186/0.2069, allocations: 5.852 MB / 0.5006 GB, free: 2.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006885/0.2138, allocations: 2.671 MB / 0.5032 GB, free: 132 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3022/0.5161, allocations: 3.773 MB / 0.5069 GB, free: 18.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003757/0.5199, allocations: 0.5968 MB / 0.5075 GB, free: 18.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007388/0.5273, allocations: 1.763 MB / 0.5092 GB, free: 18.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007072/0.5344, allocations: 3.31 MB / 0.5124 GB, free: 18.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.011/0.5454, allocations: 3.802 MB / 0.5161 GB, free: 17.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02233/0.5678, allocations: 11.96 MB / 0.5278 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5678, allocations: 4.719 kB / 0.5278 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5678, allocations: 0 / 0.5278 GB, free: 13.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005586/0.5684, allocations: 0.7812 kB / 0.5278 GB, free: 13.98 MB / 382.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.02774/0.5961, allocations: 7.879 MB / 0.5355 GB, free: 8.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.5962, allocations: 12.03 kB / 0.5355 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/0.6127, allocations: 3.938 MB / 0.5394 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/0.6234, allocations: 4.267 MB / 0.5435 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003897/0.6238, allocations: 399.1 kB / 0.5439 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002793/0.6266, allocations: 0.5576 MB / 0.5445 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04251/0.6691, allocations: 18.87 MB / 0.5629 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004432/0.6696, allocations: 69.05 kB / 0.5629 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002732/0.6724, allocations: 251.7 kB / 0.5632 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005746/0.6781, allocations: 3.426 MB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03957/0.7177, allocations: 16.63 MB / 0.5828 GB, free: 13.59 MB / 430.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.09636/0.8141, allocations: 66.91 MB / 0.6481 GB, free: 9.699 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01505/0.8292, allocations: 6.268 MB / 0.6542 GB, free: 3.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003689/0.8329, allocations: 2.832 MB / 0.657 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02178/0.8547, allocations: 13.86 MB / 0.6705 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.534e-05/0.8548, allocations: 59.75 kB / 0.6706 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=284): time 6.162e-06/0.8548, allocations: 4 kB / 0.6706 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=345): time 0.08221/0.937, allocations: 25.01 MB / 0.695 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.9372, allocations: 199.6 kB / 0.6952 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00965/0.9469, allocations: 5.88 MB / 0.7009 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006074/0.9475, allocations: 77.14 kB / 0.701 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.2531/1.201, allocations: 4.945 MB / 0.7059 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001977/1.203, allocations: 1.284 MB / 0.7071 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004259/1.207, allocations: 1.905 MB / 0.709 GB, free: 182.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.802e-05/1.207, allocations: 306.5 kB / 0.7093 GB, free: 182 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006084/1.213, allocations: 3.356 MB / 0.7125 GB, free: 181 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0106/1.224, allocations: 8.878 MB / 0.7212 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01782/1.242, allocations: 13.18 MB / 0.7341 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004846/1.242, allocations: 54.91 kB / 0.7341 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02883/1.271, allocations: 13.01 MB / 0.7468 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/1.271, allocations: 92.16 kB / 0.7469 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00022/1.271, allocations: 192.2 kB / 0.7471 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003774/1.275, allocations: 1.322 MB / 0.7484 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007302/1.282, allocations: 2.21 MB / 0.7505 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/1.293, allocations: 7.832 MB / 0.7582 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008005/1.301, allocations: 0.5078 MB / 0.7587 GB, free: 147 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00171/1.303, allocations: 0.5577 MB / 0.7592 GB, free: 146.4 MB / 0.5294 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.008257/1.311, allocations: 3.449 MB / 0.7626 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001263/1.312, allocations: 0.5283 MB / 0.7631 GB, free: 142.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/1.323, allocations: 5.401 MB / 0.7684 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.722e-05/1.323, allocations: 36.94 kB / 0.7684 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/1.323, allocations: 8 kB / 0.7684 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.541e-05/1.323, allocations: 20.22 kB / 0.7685 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02815/1.351, allocations: 13.99 MB / 0.7821 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/1.351, allocations: 12 kB / 0.7821 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/1.353, allocations: 0.4962 MB / 0.7826 GB, free: 125.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003044/1.356, allocations: 0.8195 MB / 0.7834 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003536/1.356, allocations: 71.62 kB / 0.7835 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007711/1.364, allocations: 5.808 MB / 0.7892 GB, free: 118.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/1.364, allocations: 23.98 kB / 0.7892 GB, free: 118.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/1.377, allocations: 8.287 MB / 0.7973 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/1.378, allocations: 0.5606 MB / 0.7978 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008334/1.379, allocations: 67.98 kB / 0.7979 GB, free: 109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001952/1.381, allocations: 137.7 kB / 0.798 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004339/1.382, allocations: 217.4 kB / 0.7982 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/1.382, allocations: 106.2 kB / 0.7983 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005187/1.387, allocations: 3.654 MB / 0.8019 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.61e-07/1.387, allocations: 0 / 0.8019 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00858/1.396, allocations: 1.652 MB / 0.8035 GB, free: 103.3 MB / 0.5294 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.0007013/1.396, allocations: 274.3 kB / 0.8038 GB, free: 103 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01678/1.413, allocations: 11.31 MB / 0.8148 GB, free: 91.75 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/1.413, allocations: 0 / 0.8148 GB, free: 91.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003035/1.416, allocations: 2.376 MB / 0.8171 GB, free: 89.36 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003821/1.42, allocations: 0.7059 MB / 0.8178 GB, free: 88.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02489/1.445, allocations: 15.39 MB / 0.8329 GB, free: 73.12 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006639/1.452, allocations: 5.157 MB / 0.8379 GB, free: 67.92 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006489/1.458, allocations: 2.962 MB / 0.8408 GB, free: 64.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/1.459, allocations: 379.4 kB / 0.8411 GB, free: 64.57 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/1.459, allocations: 0 / 0.8411 GB, free: 64.57 MB / 0.5294 GB Notification: Performance of Templates: time 0.3087/1.768, allocations: 60.89 MB / 0.9006 GB, free: 165.9 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (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) 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) Reference file matches