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.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.001705/0.001705, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002139/0.002139, allocations: 215.8 kB / 23.73 MB, free: 4.16 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.566/1.566, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2358/0.2358, allocations: 44.93 MB / 358.8 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 179] 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.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.0.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.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 63.89 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3918, allocations: 65.48 MB / 0.5575 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02016/0.412, allocations: 14.12 MB / 0.5712 GB, free: 9.309 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0143/0.4263, allocations: 5.116 MB / 0.5762 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003337/0.4296, allocations: 115.4 kB / 0.5763 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008812/0.4384, allocations: 4.057 MB / 0.5803 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008612/0.447, allocations: 2.817 MB / 0.5831 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.4504, allocations: 1.267 MB / 0.5843 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01225/0.4626, allocations: 7.734 MB / 0.5919 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007315/0.4699, allocations: 4.717 MB / 0.5965 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005222/0.4752, allocations: 2.714 MB / 0.5991 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006549/0.4817, allocations: 3.867 MB / 0.6029 GB, free: 8.758 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001564/0.4833, allocations: 0.5938 MB / 0.6035 GB, free: 8.164 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003621/0.4869, allocations: 1.643 MB / 0.6051 GB, free: 6.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003951/0.4908, allocations: 3.373 MB / 0.6084 GB, free: 3.137 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005326/0.4962, allocations: 2.792 MB / 0.6111 GB, free: 336 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01813/0.5143, allocations: 12.41 MB / 0.6232 GB, free: 3.867 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5143, allocations: 0 / 0.6232 GB, free: 3.867 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5143, allocations: 0 / 0.6232 GB, free: 3.867 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004379/0.5147, allocations: 0 / 0.6232 GB, free: 3.867 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.02354/0.5383, allocations: 7.978 MB / 0.631 GB, free: 11.81 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.5383, allocations: 15.97 kB / 0.631 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01752/0.5558, allocations: 3.985 MB / 0.6349 GB, free: 7.797 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/0.5687, allocations: 4.178 MB / 0.639 GB, free: 3.562 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000557/0.5692, allocations: 402 kB / 0.6394 GB, free: 3.168 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002653/0.5719, allocations: 0.5504 MB / 0.6399 GB, free: 2.617 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0442/0.6161, allocations: 18.93 MB / 0.6584 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004485/0.6165, allocations: 75.39 kB / 0.6585 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002601/0.6191, allocations: 251.8 kB / 0.6587 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006202/0.6253, allocations: 3.428 MB / 0.6621 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04086/0.6662, allocations: 16.62 MB / 0.6783 GB, free: 10.23 MB / 0.5137 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.6973/1.363, allocations: 61.65 MB / 0.7385 GB, free: 115.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01456/1.378, allocations: 5.12 MB / 0.7435 GB, free: 115.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003769/1.382, allocations: 2.656 MB / 0.7461 GB, free: 115.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01943/1.401, allocations: 10.61 MB / 0.7565 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/1.401, allocations: 63 kB / 0.7565 GB, free: 112.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 8.215e-06/1.401, allocations: 0 / 0.7565 GB, free: 112.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.0771/1.478, allocations: 25.05 MB / 0.781 GB, free: 93.95 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/1.478, allocations: 184.3 kB / 0.7812 GB, free: 93.73 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005584/1.484, allocations: 5.616 MB / 0.7866 GB, free: 88.35 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004214/1.484, allocations: 77.7 kB / 0.7867 GB, free: 88.27 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001942/1.486, allocations: 5.176 MB / 0.7918 GB, free: 83.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008768/1.487, allocations: 1.347 MB / 0.7931 GB, free: 81.97 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001808/1.489, allocations: 1.925 MB / 0.795 GB, free: 80.04 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.576e-05/1.489, allocations: 305.8 kB / 0.7953 GB, free: 79.73 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003889/1.493, allocations: 3.36 MB / 0.7985 GB, free: 76.37 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005774/1.499, allocations: 8.901 MB / 0.8072 GB, free: 64.84 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/1.509, allocations: 13.19 MB / 0.8201 GB, free: 49.18 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/1.509, allocations: 52 kB / 0.8202 GB, free: 49.13 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02029/1.53, allocations: 12.96 MB / 0.8328 GB, free: 36.13 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/1.53, allocations: 88 kB / 0.8329 GB, free: 36.05 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001819/1.53, allocations: 192.1 kB / 0.8331 GB, free: 35.86 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003777/1.534, allocations: 1.326 MB / 0.8344 GB, free: 34.53 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006863/1.541, allocations: 2.199 MB / 0.8365 GB, free: 32.33 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/1.551, allocations: 7.625 MB / 0.844 GB, free: 24.61 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006677/1.558, allocations: 0.5144 MB / 0.8445 GB, free: 24.1 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001328/1.559, allocations: 0.5508 MB / 0.845 GB, free: 23.55 MB / 0.5607 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.005067/1.564, allocations: 3.455 MB / 0.8484 GB, free: 20.08 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008623/1.565, allocations: 0.5006 MB / 0.8489 GB, free: 19.57 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009474/1.574, allocations: 5.34 MB / 0.8541 GB, free: 14.18 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/1.574, allocations: 36 kB / 0.8541 GB, free: 14.14 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/1.574, allocations: 4 kB / 0.8541 GB, free: 14.14 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.389e-05/1.574, allocations: 23.88 kB / 0.8542 GB, free: 14.11 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02132/1.596, allocations: 11.55 MB / 0.8654 GB, free: 2.418 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.588e-05/1.596, allocations: 8 kB / 0.8654 GB, free: 2.41 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/1.598, allocations: 0.4962 MB / 0.8659 GB, free: 1.914 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00307/1.601, allocations: 0.8163 MB / 0.8667 GB, free: 1.094 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003799/1.601, allocations: 67.52 kB / 0.8668 GB, free: 1.031 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/1.611, allocations: 5.58 MB / 0.8722 GB, free: 11.35 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.579e-05/1.611, allocations: 19.88 kB / 0.8723 GB, free: 11.33 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01637/1.628, allocations: 8.276 MB / 0.8803 GB, free: 2.77 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/1.629, allocations: 471.3 kB / 0.8808 GB, free: 2.309 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005916/1.63, allocations: 63.98 kB / 0.8808 GB, free: 2.246 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001944/1.632, allocations: 135.3 kB / 0.881 GB, free: 2.117 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000484/1.632, allocations: 225.4 kB / 0.8812 GB, free: 1.895 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002349/1.633, allocations: 104 kB / 0.8813 GB, free: 1.793 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00533/1.638, allocations: 3.226 MB / 0.8844 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.638, allocations: 0 / 0.8844 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006887/1.645, allocations: 1.62 MB / 0.886 GB, free: 12.96 MB / 0.5919 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.0006521/1.646, allocations: 259.1 kB / 0.8863 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0139/1.659, allocations: 7.591 MB / 0.8937 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.968e-05/1.659, allocations: 4 kB / 0.8937 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004304/1.664, allocations: 2.208 MB / 0.8958 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003923/1.668, allocations: 0.5876 MB / 0.8964 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03295/1.701, allocations: 15.54 MB / 0.9116 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009431/1.71, allocations: 4.68 MB / 0.9162 GB, free: 13.86 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.0081/1.718, allocations: 2.9 MB / 0.919 GB, free: 10.95 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/1.72, allocations: 363.4 kB / 0.9193 GB, free: 10.59 MB / 0.6232 GB Notification: Performance of SimCode: time 9.72e-07/1.72, allocations: 3.938 kB / 0.9193 GB, free: 10.59 MB / 0.6232 GB Notification: Performance of Templates: time 0.1422/1.862, allocations: 56.33 MB / 0.9744 GB, free: 3.105 MB / 0.67 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.065009040758014]