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.001273/0.001273, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001307/0.001307, allocations: 194 kB / 18.77 MB, free: 4.742 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.345/1.345, allocations: 222.9 MB / 242.5 MB, free: 13.79 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.2176/0.2176, allocations: 44.18 MB / 336.8 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 68.45 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1142, allocations: 60.82 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.2999/0.4141, allocations: 58.17 MB / 0.515 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03056/0.4447, allocations: 12.35 MB / 0.527 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01323/0.458, allocations: 250.7 kB / 0.5273 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007709/0.4657, allocations: 4.146 MB / 0.5313 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008022/0.4738, allocations: 2.595 MB / 0.5339 GB, free: 5.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003283/0.4771, allocations: 1.16 MB / 0.535 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01319/0.4903, allocations: 10.72 MB / 0.5455 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008462/0.4988, allocations: 5.746 MB / 0.5511 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00522/0.5041, allocations: 2.352 MB / 0.5534 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006582/0.5107, allocations: 3.978 MB / 0.5573 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002111/0.5129, allocations: 412 kB / 0.5576 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00488/0.5178, allocations: 1.665 MB / 0.5593 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004537/0.5223, allocations: 3.168 MB / 0.5624 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006788/0.5291, allocations: 3.622 MB / 0.5659 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.5414, allocations: 9.76 MB / 0.5754 GB, free: 2.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5414, allocations: 0 / 0.5754 GB, free: 2.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.5415, allocations: 0 / 0.5754 GB, free: 2.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003852/0.5418, allocations: 3.938 kB / 0.5754 GB, free: 2.637 MB / 414.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.02147/0.5633, allocations: 7.887 MB / 0.5831 GB, free: 10.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.5634, allocations: 8.031 kB / 0.5831 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01729/0.5807, allocations: 3.937 MB / 0.587 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/0.5918, allocations: 4.266 MB / 0.5912 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004595/0.5923, allocations: 403.8 kB / 0.5915 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002589/0.5949, allocations: 0.5472 MB / 0.5921 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04319/0.6381, allocations: 18.88 MB / 0.6105 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003699/0.6385, allocations: 71.39 kB / 0.6106 GB, free: 13.97 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002215/0.6407, allocations: 243.7 kB / 0.6108 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005647/0.6464, allocations: 3.434 MB / 0.6142 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03749/0.6839, allocations: 16.64 MB / 0.6304 GB, free: 9.73 MB / 478.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.09965/0.7836, allocations: 66.9 MB / 0.6957 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4065/1.19, allocations: 6.269 MB / 0.7019 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004895/1.195, allocations: 2.833 MB / 0.7046 GB, free: 184.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02422/1.219, allocations: 13.85 MB / 0.7182 GB, free: 177.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/1.219, allocations: 58.19 kB / 0.7182 GB, free: 177.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 5.881e-06/1.219, allocations: 0 / 0.7182 GB, free: 177.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.08266/1.302, allocations: 25.04 MB / 0.7427 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/1.302, allocations: 184.3 kB / 0.7429 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007052/1.309, allocations: 5.888 MB / 0.7486 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005982/1.31, allocations: 73.7 kB / 0.7487 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002226/1.312, allocations: 4.945 MB / 0.7535 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001128/1.313, allocations: 1.293 MB / 0.7548 GB, free: 156 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002066/1.315, allocations: 1.904 MB / 0.7566 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.464e-05/1.315, allocations: 301.1 kB / 0.7569 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004235/1.32, allocations: 3.353 MB / 0.7602 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006808/1.326, allocations: 8.874 MB / 0.7689 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/1.339, allocations: 13.19 MB / 0.7817 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001371/1.339, allocations: 56 kB / 0.7818 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02277/1.362, allocations: 13 MB / 0.7945 GB, free: 109.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.362, allocations: 84 kB / 0.7946 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00017/1.362, allocations: 196 kB / 0.7948 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004073/1.366, allocations: 1.318 MB / 0.796 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006427/1.372, allocations: 2.211 MB / 0.7982 GB, free: 106 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/1.383, allocations: 7.284 MB / 0.8053 GB, free: 98.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006898/1.39, allocations: 0.511 MB / 0.8058 GB, free: 98.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001311/1.391, allocations: 0.5508 MB / 0.8063 GB, free: 97.55 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.00483/1.396, allocations: 3.449 MB / 0.8097 GB, free: 94.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008368/1.397, allocations: 0.5283 MB / 0.8102 GB, free: 93.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/1.407, allocations: 5.396 MB / 0.8155 GB, free: 88.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.994e-05/1.407, allocations: 40 kB / 0.8155 GB, free: 88.06 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/1.407, allocations: 8 kB / 0.8155 GB, free: 88.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.079e-05/1.407, allocations: 15.94 kB / 0.8156 GB, free: 88.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02545/1.433, allocations: 14.01 MB / 0.8292 GB, free: 73.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.867e-05/1.433, allocations: 12 kB / 0.8293 GB, free: 73.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002081/1.435, allocations: 0.4993 MB / 0.8297 GB, free: 73.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003345/1.438, allocations: 0.8125 MB / 0.8305 GB, free: 72.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003372/1.438, allocations: 68.45 kB / 0.8306 GB, free: 72.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008298/1.447, allocations: 5.332 MB / 0.8358 GB, free: 66.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-05/1.447, allocations: 19.88 kB / 0.8358 GB, free: 66.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/1.461, allocations: 8.283 MB / 0.8439 GB, free: 58.36 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/1.462, allocations: 0.5567 MB / 0.8445 GB, free: 57.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001111/1.463, allocations: 67.92 kB / 0.8445 GB, free: 57.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002527/1.466, allocations: 139.8 kB / 0.8447 GB, free: 57.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005011/1.466, allocations: 221.5 kB / 0.8449 GB, free: 57.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002131/1.467, allocations: 107.7 kB / 0.845 GB, free: 57.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005217/1.472, allocations: 3.647 MB / 0.8485 GB, free: 53.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.21e-07/1.472, allocations: 0 / 0.8485 GB, free: 53.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008001/1.48, allocations: 1.648 MB / 0.8501 GB, free: 52 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.0007369/1.481, allocations: 276.8 kB / 0.8504 GB, free: 51.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01116/1.492, allocations: 7.881 MB / 0.8581 GB, free: 43.86 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/1.492, allocations: 4 kB / 0.8581 GB, free: 43.86 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003287/1.495, allocations: 2.384 MB / 0.8604 GB, free: 41.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/1.499, allocations: 0.6625 MB / 0.8611 GB, free: 40.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02638/1.526, allocations: 19.57 MB / 0.8802 GB, free: 21.05 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00571/1.531, allocations: 5.145 MB / 0.8852 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001723/1.533, allocations: 451.4 kB / 0.8856 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/1.533, allocations: 4 kB / 0.8856 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of Templates: time 0.403/1.936, allocations: 126 MB / 1.009 GB, free: 74.98 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/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