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.0015/0.0015, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002388/0.002388, allocations: 211.8 kB / 23.72 MB, free: 4.531 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2528/0.2528, allocations: 46.95 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] 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.002075/0.002075, allocations: 67.89 kB / 0.4966 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3556, allocations: 66.04 MB / 0.5611 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01933/0.3749, allocations: 14.11 MB / 0.5749 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.3875, allocations: 5.12 MB / 0.5799 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00302/0.3905, allocations: 111.5 kB / 0.58 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008915/0.3995, allocations: 4.061 MB / 0.5839 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007734/0.4072, allocations: 2.817 MB / 0.5867 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003277/0.4105, allocations: 1.271 MB / 0.5879 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01225/0.4227, allocations: 7.734 MB / 0.5955 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007004/0.4297, allocations: 4.741 MB / 0.6001 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005444/0.4352, allocations: 2.71 MB / 0.6028 GB, free: 9.254 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007122/0.4423, allocations: 4.093 MB / 0.6067 GB, free: 5.148 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001957/0.4442, allocations: 0.5938 MB / 0.6073 GB, free: 4.555 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004838/0.4491, allocations: 1.666 MB / 0.609 GB, free: 2.887 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005126/0.4542, allocations: 3.373 MB / 0.6122 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005771/0.46, allocations: 2.8 MB / 0.615 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01869/0.4787, allocations: 12.4 MB / 0.6271 GB, free: 240 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.4787, allocations: 0 / 0.6271 GB, free: 240 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4787, allocations: 4 kB / 0.6271 GB, free: 236 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004458/0.4791, allocations: 0 / 0.6271 GB, free: 236 kB / 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.02015/0.4993, allocations: 7.978 MB / 0.6349 GB, free: 8.172 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4993, allocations: 8.031 kB / 0.6349 GB, free: 8.164 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01731/0.5166, allocations: 3.985 MB / 0.6388 GB, free: 4.168 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/0.5292, allocations: 4.186 MB / 0.6429 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004637/0.5297, allocations: 401.9 kB / 0.6433 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002624/0.5323, allocations: 0.5582 MB / 0.6438 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0449/0.5772, allocations: 18.93 MB / 0.6623 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002607/0.5775, allocations: 71.41 kB / 0.6624 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001462/0.5789, allocations: 247.8 kB / 0.6626 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005859/0.5848, allocations: 3.428 MB / 0.6659 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03977/0.6246, allocations: 16.61 MB / 0.6822 GB, free: 6.613 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.4596/1.084, allocations: 61.67 MB / 0.7424 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01404/1.098, allocations: 5.123 MB / 0.7474 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003324/1.102, allocations: 2.655 MB / 0.75 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0217/1.123, allocations: 10.61 MB / 0.7603 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.328e-05/1.123, allocations: 63.97 kB / 0.7604 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=284): time 7.394e-06/1.123, allocations: 3.719 kB / 0.7604 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=345): time 0.08128/1.205, allocations: 25.06 MB / 0.7849 GB, free: 89.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/1.205, allocations: 188.3 kB / 0.7851 GB, free: 89.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006531/1.211, allocations: 5.614 MB / 0.7905 GB, free: 84.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005995/1.212, allocations: 73.7 kB / 0.7906 GB, free: 84.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00242/1.214, allocations: 5.184 MB / 0.7957 GB, free: 79.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001624/1.216, allocations: 1.341 MB / 0.797 GB, free: 77.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002109/1.218, allocations: 1.925 MB / 0.7989 GB, free: 75.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.285e-05/1.218, allocations: 301.1 kB / 0.7991 GB, free: 75.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004122/1.222, allocations: 3.361 MB / 0.8024 GB, free: 72.24 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005904/1.228, allocations: 8.908 MB / 0.8111 GB, free: 60.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/1.24, allocations: 13.18 MB / 0.824 GB, free: 45.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001648/1.24, allocations: 56 kB / 0.8241 GB, free: 44.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02329/1.263, allocations: 12.96 MB / 0.8367 GB, free: 31.97 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/1.263, allocations: 88.19 kB / 0.8368 GB, free: 31.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002186/1.263, allocations: 196 kB / 0.837 GB, free: 31.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004022/1.267, allocations: 1.322 MB / 0.8383 GB, free: 30.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006901/1.274, allocations: 2.203 MB / 0.8404 GB, free: 28.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/1.285, allocations: 7.617 MB / 0.8479 GB, free: 20.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007646/1.293, allocations: 0.5074 MB / 0.8484 GB, free: 19.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001725/1.294, allocations: 0.5539 MB / 0.8489 GB, free: 19.39 MB / 0.5606 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.006069/1.3, allocations: 3.455 MB / 0.8523 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/1.302, allocations: 0.5044 MB / 0.8528 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/1.312, allocations: 5.344 MB / 0.858 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.615e-05/1.312, allocations: 36 kB / 0.858 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/1.312, allocations: 8 kB / 0.858 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.834e-05/1.312, allocations: 19.94 kB / 0.858 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02669/1.338, allocations: 11.54 MB / 0.8693 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.815e-05/1.339, allocations: 12.94 kB / 0.8693 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002497/1.341, allocations: 0.508 MB / 0.8698 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00382/1.345, allocations: 0.8085 MB / 0.8706 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005053/1.345, allocations: 67.98 kB / 0.8707 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/1.356, allocations: 5.584 MB / 0.8761 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-05/1.356, allocations: 19.94 kB / 0.8761 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01768/1.374, allocations: 8.273 MB / 0.8842 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001998/1.376, allocations: 460.5 kB / 0.8847 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008629/1.377, allocations: 67.98 kB / 0.8847 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/1.379, allocations: 131.9 kB / 0.8849 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005734/1.379, allocations: 237.1 kB / 0.8851 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002409/1.38, allocations: 94.62 kB / 0.8852 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00593/1.386, allocations: 3.23 MB / 0.8883 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.386, allocations: 64 / 0.8883 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009002/1.395, allocations: 1.613 MB / 0.8899 GB, free: 8.809 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.0008927/1.396, allocations: 267 kB / 0.8902 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01508/1.411, allocations: 7.591 MB / 0.8976 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.628e-05/1.411, allocations: 0 / 0.8976 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004437/1.415, allocations: 2.212 MB / 0.8997 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003937/1.419, allocations: 0.5949 MB / 0.9003 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03047/1.45, allocations: 15.54 MB / 0.9155 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008929/1.458, allocations: 4.68 MB / 0.9201 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.007912/1.466, allocations: 2.9 MB / 0.9229 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/1.468, allocations: 367.4 kB / 0.9232 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of SimCode: time 1.243e-06/1.468, allocations: 0 / 0.9232 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of Templates: time 0.118/1.586, allocations: 56.34 MB / 0.9782 GB, free: 14.93 MB / 0.6856 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: 8.575192874763161]