Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.002001/0.002001, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 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.002451/0.002451, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.66/1.66, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.254/0.254, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.89 kB / 0.4914 GB, free: 7.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1479, allocations: 66.01 MB / 0.5558 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02144/0.1693, allocations: 16.3 MB / 0.5718 GB, free: 4.988 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01505/0.1844, allocations: 5.388 MB / 0.577 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002978/0.1873, allocations: 115.4 kB / 0.5771 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008895/0.1962, allocations: 4.217 MB / 0.5813 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00925/0.2055, allocations: 2.786 MB / 0.584 GB, free: 8.438 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003771/0.2093, allocations: 1.267 MB / 0.5852 GB, free: 7.168 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.348/0.5573, allocations: 7.719 MB / 0.5928 GB, free: 6.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.5673, allocations: 4.966 MB / 0.5976 GB, free: 6.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00653/0.5739, allocations: 2.712 MB / 0.6002 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009147/0.583, allocations: 4.082 MB / 0.6042 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00367/0.5867, allocations: 0.598 MB / 0.6048 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006425/0.5931, allocations: 1.798 MB / 0.6066 GB, free: 5.934 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007173/0.6003, allocations: 3.37 MB / 0.6099 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01207/0.6123, allocations: 3.772 MB / 0.6135 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02255/0.6349, allocations: 12.35 MB / 0.6256 GB, free: 13.92 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.6349, allocations: 0 / 0.6256 GB, free: 13.92 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6349, allocations: 0 / 0.6256 GB, free: 13.92 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006172/0.6355, allocations: 0 / 0.6256 GB, free: 13.92 MB / 462.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.02975/0.6653, allocations: 8.05 MB / 0.6335 GB, free: 8.539 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.6653, allocations: 9.094 kB / 0.6335 GB, free: 8.539 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01856/0.6839, allocations: 3.991 MB / 0.6374 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01298/0.6968, allocations: 4.243 MB / 0.6415 GB, free: 4.117 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004917/0.6973, allocations: 405 kB / 0.6419 GB, free: 3.902 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003482/0.7008, allocations: 0.5526 MB / 0.6424 GB, free: 3.414 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05067/0.7515, allocations: 18.89 MB / 0.6609 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004185/0.7519, allocations: 70.19 kB / 0.661 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002909/0.7548, allocations: 248.6 kB / 0.6612 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00695/0.7618, allocations: 3.429 MB / 0.6645 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04628/0.808, allocations: 16.63 MB / 0.6808 GB, free: 11.83 MB / 0.4981 GB 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.1227/0.9307, allocations: 66.71 MB / 0.7459 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01924/0.95, allocations: 6.055 MB / 0.7519 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00555/0.9555, allocations: 2.647 MB / 0.7544 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03057/0.9861, allocations: 13.95 MB / 0.7681 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.448e-05/0.9862, allocations: 64.41 kB / 0.7681 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=284): time 1.097e-05/0.9862, allocations: 0 / 0.7681 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=345): time 0.1039/1.09, allocations: 25.21 MB / 0.7927 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002645/1.09, allocations: 189.6 kB / 0.7929 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0208/1.111, allocations: 5.895 MB / 0.7987 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001082/1.112, allocations: 73.7 kB / 0.7987 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.006351/1.119, allocations: 5.153 MB / 0.8038 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002768/1.121, allocations: 1.344 MB / 0.8051 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007925/1.129, allocations: 1.921 MB / 0.807 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.129, allocations: 305.1 kB / 0.8073 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008043/1.138, allocations: 3.361 MB / 0.8105 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01399/1.152, allocations: 8.875 MB / 0.8192 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02247/1.174, allocations: 13.19 MB / 0.8321 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002958/1.174, allocations: 56 kB / 0.8321 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.414/1.588, allocations: 13.01 MB / 0.8448 GB, free: 215.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.000194/1.588, allocations: 87.84 kB / 0.8449 GB, free: 215.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004358/1.589, allocations: 192.8 kB / 0.8451 GB, free: 215.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005505/1.594, allocations: 1.323 MB / 0.8464 GB, free: 215.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/1.604, allocations: 2.212 MB / 0.8486 GB, free: 215.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/1.618, allocations: 7.845 MB / 0.8562 GB, free: 213.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007731/1.626, allocations: 0.5065 MB / 0.8567 GB, free: 213.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002037/1.628, allocations: 0.5546 MB / 0.8573 GB, free: 213.6 MB / 0.6544 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.008309/1.636, allocations: 3.454 MB / 0.8606 GB, free: 212.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/1.637, allocations: 0.5482 MB / 0.8612 GB, free: 212.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/1.649, allocations: 5.381 MB / 0.8664 GB, free: 210.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.329e-05/1.649, allocations: 37.03 kB / 0.8665 GB, free: 210.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/1.649, allocations: 12.78 kB / 0.8665 GB, free: 210.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.49e-05/1.649, allocations: 15.58 kB / 0.8665 GB, free: 210.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02661/1.676, allocations: 13.91 MB / 0.8801 GB, free: 205.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-05/1.676, allocations: 11.81 kB / 0.8801 GB, free: 205.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002217/1.678, allocations: 0.4949 MB / 0.8806 GB, free: 205.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003487/1.682, allocations: 0.8086 MB / 0.8814 GB, free: 205 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007489/1.682, allocations: 70.8 kB / 0.8814 GB, free: 205 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/1.695, allocations: 5.816 MB / 0.8871 GB, free: 201.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.223e-05/1.695, allocations: 19.19 kB / 0.8871 GB, free: 201.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02163/1.716, allocations: 8.312 MB / 0.8952 GB, free: 198.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002233/1.719, allocations: 0.5865 MB / 0.8958 GB, free: 197.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001969/1.721, allocations: 67.27 kB / 0.8959 GB, free: 197.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004882/1.726, allocations: 132.7 kB / 0.896 GB, free: 197.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/1.727, allocations: 228.1 kB / 0.8962 GB, free: 197.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003758/1.727, allocations: 103.5 kB / 0.8963 GB, free: 197.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01077/1.738, allocations: 3.651 MB / 0.8999 GB, free: 194.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/1.738, allocations: 0 / 0.8999 GB, free: 194.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01764/1.755, allocations: 1.615 MB / 0.9015 GB, free: 193.1 MB / 0.6544 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.001825/1.757, allocations: 268.7 kB / 0.9017 GB, free: 192.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02282/1.78, allocations: 7.591 MB / 0.9091 GB, free: 186.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-05/1.78, allocations: 4.625 kB / 0.9091 GB, free: 186.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006634/1.787, allocations: 2.215 MB / 0.9113 GB, free: 184.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008147/1.795, allocations: 0.6901 MB / 0.912 GB, free: 183.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04221/1.837, allocations: 15.45 MB / 0.9271 GB, free: 168.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009536/1.847, allocations: 5.164 MB / 0.9321 GB, free: 163.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.007687/1.854, allocations: 2.958 MB / 0.935 GB, free: 160.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/1.856, allocations: 379.4 kB / 0.9354 GB, free: 159.9 MB / 0.6544 GB Notification: Performance of SimCode: time 8.22e-07/1.856, allocations: 0 / 0.9354 GB, free: 159.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.1025/1.958, allocations: 56.75 MB / 0.9908 GB, free: 103.5 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.178556200116873]