Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001439/0.001439, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001686/0.001686, allocations: 211 kB / 23.73 MB, free: 4.387 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.506/1.506, 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.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.2357/0.2357, allocations: 46.95 MB / 360.9 MB, free: 4.059 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.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 63.91 kB / 0.4966 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4052, allocations: 66.04 MB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01853/0.4238, allocations: 13.91 MB / 0.5746 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.4361, allocations: 5.207 MB / 0.5797 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002894/0.439, allocations: 131.3 kB / 0.5799 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009934/0.4489, allocations: 4.981 MB / 0.5847 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009817/0.4588, allocations: 2.685 MB / 0.5873 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004168/0.4629, allocations: 1.388 MB / 0.5887 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01333/0.4762, allocations: 8.259 MB / 0.5968 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007543/0.4838, allocations: 5.174 MB / 0.6018 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005362/0.4892, allocations: 2.824 MB / 0.6046 GB, free: 7.418 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00843/0.4976, allocations: 3.77 MB / 0.6083 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001652/0.4992, allocations: 0.6328 MB / 0.6089 GB, free: 3.004 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003615/0.5029, allocations: 1.674 MB / 0.6105 GB, free: 1.328 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003935/0.5068, allocations: 3.425 MB / 0.6139 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004424/0.5112, allocations: 2.789 MB / 0.6166 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01552/0.5267, allocations: 12.03 MB / 0.6283 GB, free: 15.01 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.5267, allocations: 0 / 0.6283 GB, free: 15.01 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5267, allocations: 0 / 0.6283 GB, free: 15.01 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003411/0.5271, allocations: 0 / 0.6283 GB, free: 15.01 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02032/0.5474, allocations: 8.013 MB / 0.6361 GB, free: 6.926 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.5474, allocations: 8.031 kB / 0.6362 GB, free: 6.918 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01477/0.5622, allocations: 3.101 MB / 0.6392 GB, free: 3.809 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01509/0.5773, allocations: 4.987 MB / 0.6441 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004267/0.5777, allocations: 378.2 kB / 0.6444 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002528/0.5803, allocations: 0.5153 MB / 0.6449 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03609/0.6164, allocations: 15.64 MB / 0.6602 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002706/0.6166, allocations: 67.52 kB / 0.6603 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009465/0.6176, allocations: 239.8 kB / 0.6605 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004353/0.6219, allocations: 2.54 MB / 0.663 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03169/0.6536, allocations: 13.09 MB / 0.6757 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08823/0.7419, allocations: 52.62 MB / 0.7271 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01823/0.7601, allocations: 5.718 MB / 0.7327 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2972/1.057, allocations: 3.23 MB / 0.7359 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01729/1.075, allocations: 9.236 MB / 0.7449 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/1.075, allocations: 63.72 kB / 0.7449 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 5.861e-06/1.075, allocations: 0 / 0.7449 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1277/1.202, allocations: 39.1 MB / 0.7831 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/1.202, allocations: 243.9 kB / 0.7834 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/1.214, allocations: 5.445 MB / 0.7887 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001427/1.215, allocations: 77.7 kB / 0.7888 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003336/1.218, allocations: 4.538 MB / 0.7932 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001985/1.22, allocations: 1.327 MB / 0.7945 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003274/1.224, allocations: 1.751 MB / 0.7962 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.354e-05/1.224, allocations: 309 kB / 0.7965 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007945/1.232, allocations: 4.077 MB / 0.8005 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01058/1.242, allocations: 8.738 MB / 0.809 GB, free: 89.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01702/1.259, allocations: 13.55 MB / 0.8222 GB, free: 73.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001249/1.259, allocations: 48 kB / 0.8223 GB, free: 73.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.02861/1.288, allocations: 16.29 MB / 0.8382 GB, free: 57.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.487e-05/1.288, allocations: 74.81 kB / 0.8383 GB, free: 57.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/1.288, allocations: 163.9 kB / 0.8384 GB, free: 57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01195/1.3, allocations: 4.275 MB / 0.8426 GB, free: 52.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005555/1.306, allocations: 1.891 MB / 0.8444 GB, free: 50.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03103/1.337, allocations: 21.16 MB / 0.8651 GB, free: 29.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01049/1.347, allocations: 0.5072 MB / 0.8656 GB, free: 29.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002255/1.349, allocations: 488 kB / 0.8661 GB, free: 28.58 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1027): * Single equations (assignments): 1023 * Array equations: 3 * 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 {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007643/1.357, allocations: 3.114 MB / 0.8691 GB, free: 25.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002067/1.359, allocations: 0.5084 MB / 0.8696 GB, free: 24.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03005/1.389, allocations: 10.02 MB / 0.8794 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.022e-05/1.389, allocations: 43.3 kB / 0.8794 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.823e-05/1.389, allocations: 16 kB / 0.8794 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.955e-05/1.389, allocations: 15.94 kB / 0.8795 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04479/1.434, allocations: 17.84 MB / 0.8969 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.123e-05/1.434, allocations: 8 kB / 0.8969 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002998/1.437, allocations: 0.4953 MB / 0.8974 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01406/1.451, allocations: 3.842 MB / 0.9011 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006872/1.452, allocations: 60 kB / 0.9012 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0335/1.486, allocations: 18.72 MB / 0.9195 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.549e-05/1.486, allocations: 19.98 kB / 0.9195 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03154/1.517, allocations: 14.85 MB / 0.934 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002101/1.519, allocations: 484.4 kB / 0.9344 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009749/1.52, allocations: 63.98 kB / 0.9345 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003002/1.523, allocations: 239.3 kB / 0.9347 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007754/1.524, allocations: 238.1 kB / 0.935 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002784/1.524, allocations: 91.98 kB / 0.935 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0054/1.53, allocations: 3.232 MB / 0.9382 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/1.53, allocations: 0 / 0.9382 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00716/1.537, allocations: 1.748 MB / 0.9399 GB, free: 468 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.w) * 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 (261): * Single equations (assignments): 257 * Array equations: 3 * 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 {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007192/1.537, allocations: 257.6 kB / 0.9401 GB, free: 204 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0159/1.553, allocations: 9.339 MB / 0.9493 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.553, allocations: 0 / 0.9493 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005991/1.559, allocations: 3.45 MB / 0.9526 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004163/1.564, allocations: 0.6544 MB / 0.9533 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03241/1.596, allocations: 16.19 MB / 0.9691 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007576/1.604, allocations: 4.335 MB / 0.9733 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.2978/1.901, allocations: 2.526 MB / 0.9758 GB, free: 224.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/1.903, allocations: 331 kB / 0.9761 GB, free: 224.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.012e-06/1.903, allocations: 0 / 0.9761 GB, free: 224.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.1045/2.007, allocations: 77.94 MB / 1.052 GB, free: 167.1 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.189030421897769]