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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.006/1.006, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1372/0.1372, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 3.938 kB / 347.7 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.737e-05, allocations: 8.219 kB / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01663/0.01666, allocations: 15.74 MB / 363.4 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01294/0.0296, allocations: 5.198 MB / 368.6 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002823/0.03242, allocations: 115.4 kB / 368.7 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006878/0.0393, allocations: 4.473 MB / 373.2 MB, free: 164 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007331/0.04663, allocations: 2.951 MB / 376.1 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.04941, allocations: 1.427 MB / 377.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008931/0.05834, allocations: 8.425 MB / 386 MB, free: 3.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005529/0.06387, allocations: 5.679 MB / 391.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005358/0.06923, allocations: 4.186 MB / 395.9 MB, free: 9.371 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004205/0.07344, allocations: 4.353 MB / 400.2 MB, free: 5.008 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008236/0.07426, allocations: 0.6094 MB / 400.8 MB, free: 4.398 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.07662, allocations: 1.744 MB / 402.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002417/0.07904, allocations: 3.596 MB / 406.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002181/0.08122, allocations: 2.255 MB / 408.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00753/0.08875, allocations: 8.034 MB / 416.4 MB, free: 4.723 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.08875, allocations: 7.938 kB / 416.4 MB, free: 4.715 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.08875, allocations: 4 kB / 416.5 MB, free: 4.711 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001201/0.08887, allocations: 0 / 416.5 MB, free: 4.711 MB / 346.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.0102/0.09908, allocations: 8.701 MB / 425.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.09914, allocations: 8.031 kB / 425.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009293/0.1084, allocations: 4.985 MB / 430.1 MB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004971/0.1134, allocations: 3.884 MB / 434 MB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/0.1136, allocations: 390.4 kB / 434.4 MB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007139/0.1143, allocations: 0.5464 MB / 435 MB, free: 2.047 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.205/0.3193, allocations: 11.29 MB / 446.3 MB, free: 57.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002568/0.3196, allocations: 72.83 kB / 446.3 MB, free: 57.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006158/0.3202, allocations: 244.9 kB / 446.6 MB, free: 57.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00353/0.3237, allocations: 3.428 MB / 450 MB, free: 57.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/0.3392, allocations: 6.815 MB / 456.8 MB, free: 57.55 MB / 362.7 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.05559/0.3948, allocations: 70.62 MB / 0.5151 GB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008212/0.403, allocations: 3.416 MB / 0.5184 GB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.4045, allocations: 0.9837 MB / 0.5194 GB, free: 2.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/0.4166, allocations: 7.9 MB / 0.5271 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.286e-05/0.4166, allocations: 67.14 kB / 0.5271 GB, free: 10.53 MB / 394.7 MB Notification: Performance of pre-optimization done (n=284): time 4.96e-06/0.4166, allocations: 0 / 0.5271 GB, free: 10.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=345): time 0.03979/0.4564, allocations: 18.73 MB / 0.5454 GB, free: 8.312 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.299e-05/0.4565, allocations: 196.3 kB / 0.5456 GB, free: 8.082 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005451/0.462, allocations: 5.151 MB / 0.5506 GB, free: 3.078 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001549/0.4621, allocations: 76.83 kB / 0.5507 GB, free: 3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002838/0.4649, allocations: 5.368 MB / 0.556 GB, free: 13.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.466, allocations: 1.369 MB / 0.5573 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001866/0.4679, allocations: 2.038 MB / 0.5593 GB, free: 10.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.468, allocations: 476.8 kB / 0.5597 GB, free: 9.797 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001935/0.4699, allocations: 1.147 MB / 0.5609 GB, free: 8.645 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006773/0.4767, allocations: 9.315 MB / 0.57 GB, free: 11.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/0.487, allocations: 11.51 MB / 0.5812 GB, free: 12.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001484/0.4872, allocations: 56 kB / 0.5813 GB, free: 12.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.01465/0.5018, allocations: 8.821 MB / 0.5899 GB, free: 3.855 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.497e-05/0.5019, allocations: 89.09 kB / 0.59 GB, free: 3.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001613/0.5021, allocations: 195.9 kB / 0.5901 GB, free: 3.578 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002693/0.5048, allocations: 1.131 MB / 0.5912 GB, free: 2.445 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00376/0.5085, allocations: 2.211 MB / 0.5934 GB, free: 236 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2054/0.7139, allocations: 4.589 MB / 0.5979 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006307/0.7202, allocations: 0.6068 MB / 0.5985 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001463/0.7217, allocations: 0.5554 MB / 0.599 GB, free: 123.9 MB / 458.7 MB 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.002751/0.7244, allocations: 0.9196 MB / 0.5999 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008993/0.7253, allocations: 0.5962 MB / 0.6005 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005285/0.7306, allocations: 2.916 MB / 0.6033 GB, free: 123.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.042e-05/0.7306, allocations: 37.97 kB / 0.6034 GB, free: 123.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.08e-05/0.7307, allocations: 6.938 kB / 0.6034 GB, free: 123.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/0.7307, allocations: 20.58 kB / 0.6034 GB, free: 123.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/0.745, allocations: 9.828 MB / 0.613 GB, free: 122.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/0.745, allocations: 11.44 kB / 0.613 GB, free: 122.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.7462, allocations: 0.4943 MB / 0.6135 GB, free: 122.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00204/0.7483, allocations: 0.7088 MB / 0.6142 GB, free: 122.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001779/0.7484, allocations: 69.12 kB / 0.6143 GB, free: 122.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003849/0.7523, allocations: 3.464 MB / 0.6176 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.7523, allocations: 17.34 kB / 0.6177 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006088/0.7584, allocations: 4.509 MB / 0.6221 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.7597, allocations: 0.8253 MB / 0.6229 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005546/0.7603, allocations: 73.5 kB / 0.6229 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.7616, allocations: 195.2 kB / 0.6231 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/0.7619, allocations: 240.4 kB / 0.6234 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/0.7621, allocations: 99.05 kB / 0.6234 GB, free: 119 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002777/0.7649, allocations: 2.207 MB / 0.6256 GB, free: 118.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7649, allocations: 3.75 kB / 0.6256 GB, free: 118.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00582/0.7707, allocations: 1.791 MB / 0.6274 GB, free: 118.7 MB / 458.7 MB 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.000563/0.7712, allocations: 295.3 kB / 0.6276 GB, free: 118.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006581/0.7778, allocations: 4.951 MB / 0.6325 GB, free: 118.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.7778, allocations: 0 / 0.6325 GB, free: 118.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.7794, allocations: 1.405 MB / 0.6338 GB, free: 117.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/0.7815, allocations: 0.642 MB / 0.6345 GB, free: 117.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/0.7972, allocations: 13.02 MB / 0.6472 GB, free: 105.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/0.7991, allocations: 2.143 MB / 0.6493 GB, free: 103.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003958/0.8031, allocations: 2.483 MB / 0.6517 GB, free: 102.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008128/0.8039, allocations: 373.9 kB / 0.6521 GB, free: 101.8 MB / 458.7 MB Notification: Performance of SimCode: time 3.096e-06/0.8039, allocations: 4 kB / 0.6521 GB, free: 101.8 MB / 458.7 MB Notification: Performance of Templates: time 0.06407/0.868, allocations: 51.94 MB / 0.7028 GB, free: 50.5 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.193320729071274]