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.001193/0.001193, allocations: 106.2 kB / 17.21 MB, free: 6.293 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.001099/0.001099, allocations: 194 kB / 18.12 MB, free: 5.383 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.358/1.358, allocations: 222.9 MB / 241.8 MB, free: 15.51 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.2045/0.2045, allocations: 44.18 MB / 336.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 61.22 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.137, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3205/0.4575, allocations: 58.16 MB / 0.5143 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03179/0.4894, allocations: 12.35 MB / 0.5264 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01453/0.5039, allocations: 254.4 kB / 0.5266 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008248/0.5122, allocations: 4.137 MB / 0.5307 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008586/0.5209, allocations: 2.599 MB / 0.5332 GB, free: 5.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005433/0.5263, allocations: 1.158 MB / 0.5344 GB, free: 4.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01545/0.5418, allocations: 10.72 MB / 0.5448 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01184/0.5537, allocations: 5.748 MB / 0.5504 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006661/0.5604, allocations: 2.348 MB / 0.5527 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007694/0.5682, allocations: 3.978 MB / 0.5566 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002435/0.5707, allocations: 419.9 kB / 0.557 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00548/0.5762, allocations: 1.662 MB / 0.5586 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005387/0.5816, allocations: 3.168 MB / 0.5617 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008468/0.5901, allocations: 3.618 MB / 0.5653 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01825/0.6084, allocations: 11.81 MB / 0.5768 GB, free: 400 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.6084, allocations: 0 / 0.5768 GB, free: 400 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6084, allocations: 0 / 0.5768 GB, free: 400 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005497/0.609, allocations: 0 / 0.5768 GB, free: 400 kB / 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.02572/0.6347, allocations: 7.89 MB / 0.5845 GB, free: 8.586 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.6348, allocations: 8.031 kB / 0.5845 GB, free: 8.578 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01719/0.652, allocations: 3.932 MB / 0.5883 GB, free: 4.633 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/0.6633, allocations: 4.266 MB / 0.5925 GB, free: 364 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005011/0.6639, allocations: 404.4 kB / 0.5929 GB, free: 20 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003014/0.6669, allocations: 0.5518 MB / 0.5934 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04726/0.7142, allocations: 18.88 MB / 0.6119 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004988/0.7147, allocations: 59.47 kB / 0.6119 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003008/0.7178, allocations: 249.7 kB / 0.6122 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006032/0.7238, allocations: 3.432 MB / 0.6155 GB, free: 8.137 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03999/0.7638, allocations: 16.63 MB / 0.6318 GB, free: 7.496 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.112/0.8758, allocations: 66.91 MB / 0.6971 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4648/1.341, allocations: 6.253 MB / 0.7032 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004675/1.345, allocations: 2.832 MB / 0.706 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02605/1.372, allocations: 13.86 MB / 0.7195 GB, free: 177 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/1.372, allocations: 61.44 kB / 0.7196 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 6.442e-06/1.372, allocations: 0 / 0.7196 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.07831/1.45, allocations: 25.03 MB / 0.744 GB, free: 166 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/1.45, allocations: 192.3 kB / 0.7442 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00732/1.457, allocations: 5.884 MB / 0.7499 GB, free: 160 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006361/1.458, allocations: 69.7 kB / 0.75 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002217/1.46, allocations: 4.953 MB / 0.7548 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001507/1.462, allocations: 1.289 MB / 0.7561 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002133/1.464, allocations: 1.904 MB / 0.758 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.251e-05/1.464, allocations: 309.1 kB / 0.7583 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004118/1.468, allocations: 3.353 MB / 0.7615 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006196/1.474, allocations: 8.875 MB / 0.7702 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01204/1.486, allocations: 13.18 MB / 0.7831 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001532/1.487, allocations: 56 kB / 0.7831 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02639/1.513, allocations: 13 MB / 0.7958 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/1.513, allocations: 88.94 kB / 0.7959 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002136/1.513, allocations: 196 kB / 0.7961 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003919/1.517, allocations: 1.318 MB / 0.7974 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006639/1.524, allocations: 2.207 MB / 0.7995 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009757/1.534, allocations: 7.283 MB / 0.8066 GB, free: 96.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007187/1.541, allocations: 0.5027 MB / 0.8071 GB, free: 95.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001417/1.542, allocations: 0.5508 MB / 0.8077 GB, free: 95.21 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.005929/1.548, allocations: 3.461 MB / 0.811 GB, free: 91.74 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/1.549, allocations: 0.5244 MB / 0.8116 GB, free: 91.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/1.56, allocations: 5.396 MB / 0.8168 GB, free: 85.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.898e-05/1.56, allocations: 36 kB / 0.8169 GB, free: 85.72 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.56, allocations: 8 kB / 0.8169 GB, free: 85.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.139e-05/1.56, allocations: 11.95 kB / 0.8169 GB, free: 85.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02525/1.585, allocations: 14.02 MB / 0.8306 GB, free: 71.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.95e-05/1.585, allocations: 12 kB / 0.8306 GB, free: 71.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002022/1.587, allocations: 0.4987 MB / 0.8311 GB, free: 70.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003114/1.59, allocations: 0.8089 MB / 0.8319 GB, free: 70.13 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000335/1.591, allocations: 68.45 kB / 0.8319 GB, free: 70.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007735/1.598, allocations: 5.335 MB / 0.8371 GB, free: 64.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/1.598, allocations: 15.94 kB / 0.8372 GB, free: 64.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/1.613, allocations: 8.286 MB / 0.8452 GB, free: 56.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001937/1.615, allocations: 0.5567 MB / 0.8458 GB, free: 55.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001633/1.616, allocations: 68 kB / 0.8459 GB, free: 55.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003035/1.619, allocations: 139.8 kB / 0.846 GB, free: 55.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007131/1.62, allocations: 229.3 kB / 0.8462 GB, free: 55.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003111/1.62, allocations: 104 kB / 0.8463 GB, free: 54.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005414/1.626, allocations: 3.651 MB / 0.8499 GB, free: 51.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.72e-07/1.626, allocations: 4 kB / 0.8499 GB, free: 51.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008591/1.634, allocations: 1.645 MB / 0.8515 GB, free: 49.65 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.0008407/1.635, allocations: 280.6 kB / 0.8517 GB, free: 49.38 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01209/1.647, allocations: 7.892 MB / 0.8595 GB, free: 41.49 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-05/1.648, allocations: 0 / 0.8595 GB, free: 41.49 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003845/1.651, allocations: 2.38 MB / 0.8618 GB, free: 39.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004716/1.656, allocations: 0.668 MB / 0.8624 GB, free: 38.44 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02953/1.686, allocations: 18.83 MB / 0.8808 GB, free: 19.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006106/1.692, allocations: 5.16 MB / 0.8859 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006907/1.699, allocations: 2.958 MB / 0.8888 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/1.7, allocations: 387.4 kB / 0.8891 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/1.7, allocations: 4 kB / 0.8891 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of Templates: time 0.3535/2.054, allocations: 58.65 MB / 0.9464 GB, free: 139.1 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