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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 226.7 MB / 245.5 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009949/0.0009949, allocations: 103.1 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.378/0.378, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.328, allocations: 62.02 MB / 0.5151 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.04641/0.3745, allocations: 58.19 MB / 0.572 GB, free: 12.18 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0348/0.4093, allocations: 12.37 MB / 0.5841 GB, free: 2.852 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01411/0.4235, allocations: 251.4 kB / 0.5843 GB, free: 2.605 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008561/0.4321, allocations: 4.126 MB / 0.5883 GB, free: 14.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009784/0.4419, allocations: 2.6 MB / 0.5909 GB, free: 11.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003481/0.4455, allocations: 1.151 MB / 0.592 GB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01316/0.4586, allocations: 10.95 MB / 0.6027 GB, free: 15.75 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01169/0.4704, allocations: 5.743 MB / 0.6083 GB, free: 9.93 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006461/0.4769, allocations: 2.363 MB / 0.6106 GB, free: 7.559 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009457/0.4864, allocations: 3.98 MB / 0.6145 GB, free: 3.566 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003685/0.4901, allocations: 416 kB / 0.6149 GB, free: 3.16 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006845/0.497, allocations: 1.646 MB / 0.6165 GB, free: 1.512 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007141/0.5042, allocations: 3.171 MB / 0.6196 GB, free: 14.33 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00874/0.513, allocations: 3.623 MB / 0.6231 GB, free: 10.69 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02183/0.5349, allocations: 11.81 MB / 0.6346 GB, free: 14.84 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.535, allocations: 4 kB / 0.6346 GB, free: 14.84 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.535, allocations: 0 / 0.6346 GB, free: 14.84 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004871/0.5355, allocations: 0 / 0.6346 GB, free: 14.84 MB / 458.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.02869/0.5642, allocations: 7.898 MB / 0.6424 GB, free: 6.852 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.5643, allocations: 8.031 kB / 0.6424 GB, free: 6.844 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02566/0.59, allocations: 3.941 MB / 0.6462 GB, free: 2.887 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01501/0.605, allocations: 4.167 MB / 0.6503 GB, free: 14.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005997/0.6057, allocations: 406 kB / 0.6507 GB, free: 14.26 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003578/0.6093, allocations: 0.5502 MB / 0.6512 GB, free: 13.71 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05946/0.6688, allocations: 18.88 MB / 0.6696 GB, free: 9.785 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003231/0.6691, allocations: 71.39 kB / 0.6697 GB, free: 9.715 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002337/0.6715, allocations: 247.8 kB / 0.67 GB, free: 9.473 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008035/0.6795, allocations: 3.428 MB / 0.6733 GB, free: 6.043 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6198/1.299, allocations: 16.63 MB / 0.6895 GB, free: 120.7 MB / 490.8 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.1184/1.418, allocations: 66.89 MB / 0.7549 GB, free: 73.95 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02357/1.441, allocations: 6.276 MB / 0.761 GB, free: 67.8 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006162/1.448, allocations: 2.835 MB / 0.7638 GB, free: 64.96 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03144/1.479, allocations: 13.85 MB / 0.7773 GB, free: 50.51 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/1.479, allocations: 68.5 kB / 0.7773 GB, free: 50.43 MB / 490.8 MB Notification: Performance of pre-optimization done (n=284): time 7.975e-06/1.479, allocations: 3.656 kB / 0.7774 GB, free: 50.43 MB / 490.8 MB Notification: Performance of matching and sorting (n=345): time 0.1238/1.603, allocations: 25.03 MB / 0.8018 GB, free: 25.39 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/1.603, allocations: 188.3 kB / 0.802 GB, free: 25.16 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007684/1.611, allocations: 5.884 MB / 0.8077 GB, free: 19.3 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006423/1.612, allocations: 73.7 kB / 0.8078 GB, free: 19.22 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00233/1.614, allocations: 4.954 MB / 0.8126 GB, free: 14.2 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001211/1.615, allocations: 1.284 MB / 0.8139 GB, free: 12.9 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002025/1.617, allocations: 1.904 MB / 0.8157 GB, free: 10.98 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.628e-05/1.617, allocations: 305.1 kB / 0.816 GB, free: 10.68 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00392/1.621, allocations: 3.357 MB / 0.8193 GB, free: 7.316 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006665/1.628, allocations: 8.869 MB / 0.828 GB, free: 11.74 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0165/1.644, allocations: 13.18 MB / 0.8408 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002029/1.645, allocations: 56 kB / 0.8409 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02765/1.672, allocations: 13 MB / 0.8536 GB, free: 14.71 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001377/1.672, allocations: 84 kB / 0.8537 GB, free: 14.63 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002444/1.673, allocations: 196 kB / 0.8539 GB, free: 14.44 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004434/1.677, allocations: 1.318 MB / 0.8551 GB, free: 13.12 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007374/1.685, allocations: 2.207 MB / 0.8573 GB, free: 10.91 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/1.697, allocations: 7.285 MB / 0.8644 GB, free: 3.488 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006947/1.704, allocations: 0.5072 MB / 0.8649 GB, free: 2.98 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001825/1.706, allocations: 0.5508 MB / 0.8655 GB, free: 2.43 MB / 0.5262 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.007465/1.713, allocations: 3.456 MB / 0.8688 GB, free: 14.96 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/1.714, allocations: 0.5244 MB / 0.8693 GB, free: 14.43 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/1.727, allocations: 5.404 MB / 0.8746 GB, free: 8.961 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.215e-05/1.727, allocations: 36 kB / 0.8747 GB, free: 8.926 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/1.727, allocations: 8 kB / 0.8747 GB, free: 8.918 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.742e-05/1.727, allocations: 19.77 kB / 0.8747 GB, free: 8.902 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.264/1.991, allocations: 13.99 MB / 0.8883 GB, free: 170.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-05/1.991, allocations: 14.16 kB / 0.8884 GB, free: 170.7 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002621/1.994, allocations: 0.4901 MB / 0.8888 GB, free: 170.6 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003345/1.997, allocations: 0.8232 MB / 0.8896 GB, free: 170.5 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006846/1.998, allocations: 74.64 kB / 0.8897 GB, free: 170.5 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007927/2.006, allocations: 5.329 MB / 0.8949 GB, free: 167.6 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/2.006, allocations: 20.53 kB / 0.8949 GB, free: 167.6 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09495/2.101, allocations: 37.75 MB / 0.9318 GB, free: 151.3 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/2.102, allocations: 0.5637 MB / 0.9323 GB, free: 150.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000664/2.102, allocations: 63.38 kB / 0.9324 GB, free: 150.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/2.104, allocations: 129.3 kB / 0.9325 GB, free: 150.8 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000494/2.105, allocations: 224.7 kB / 0.9327 GB, free: 150.8 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/2.105, allocations: 99.52 kB / 0.9328 GB, free: 150.8 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.005513/2.111, allocations: 3.653 MB / 0.9364 GB, free: 149.6 MB / 0.5418 GB Notification: Performance of sort global known variables: time 4.21e-07/2.111, allocations: 3.938 kB / 0.9364 GB, free: 149.6 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.009411/2.12, allocations: 2.079 MB / 0.9384 GB, free: 149.4 MB / 0.5418 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.0009163/2.121, allocations: 272.7 kB / 0.9387 GB, free: 149.2 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01168/2.133, allocations: 7.884 MB / 0.9464 GB, free: 142.7 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.632e-05/2.133, allocations: 8 kB / 0.9464 GB, free: 142.7 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.003285/2.136, allocations: 2.371 MB / 0.9487 GB, free: 140.6 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004223/2.14, allocations: 0.6738 MB / 0.9494 GB, free: 140 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03083/2.171, allocations: 21.2 MB / 0.9701 GB, free: 119.1 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007087/2.178, allocations: 5.274 MB / 0.9752 GB, free: 113.8 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.007068/2.185, allocations: 2.978 MB / 0.9781 GB, free: 110.8 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/2.187, allocations: 387.4 kB / 0.9785 GB, free: 110.4 MB / 0.5418 GB Notification: Performance of SimCode: time 7.92e-07/2.187, allocations: 0 / 0.9785 GB, free: 110.4 MB / 0.5418 GB Notification: Performance of Templates: time 0.1048/2.291, allocations: 69.86 MB / 1.047 GB, free: 40.82 MB / 0.5418 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches